rephrased comments

master
Alexander Graf 3 years ago
parent 3f91dcb7af
commit c2c3030a2f

@ -508,8 +508,8 @@ class User(Base, Email):
return cls._ctx return cls._ctx
# compile schemes # compile schemes
# - scrypt throws a warning if the native wheels aren't found # - skip scrypt (throws a warning if the native wheels aren't found)
# - we can't leave plaintext schemes as they will be misidentified # - skip plaintext schemes (will be misidentified)
schemes = [ schemes = [
scheme for scheme in passlib.registry.list_crypt_handlers() scheme for scheme in passlib.registry.list_crypt_handlers()
if not (scheme == 'scrypt' or scheme.endswith('plaintext')) if not (scheme == 'scrypt' or scheme.endswith('plaintext'))

Loading…
Cancel
Save