1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-05 14:55:20 +02:00

rephrased comments

This commit is contained in:
Alexander Graf 2021-07-24 20:54:36 +02:00
parent 3f91dcb7af
commit c2c3030a2f

View File

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