mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
Compare commits
1 Commits
j4n/docker
...
9passwords
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19bbe24f07 |
@@ -28,8 +28,8 @@ def is_allowed_to_create(user, cleartext_password) -> bool:
|
||||
logging.warning(f"blocked account creation because {NOCREATE_FILE!r} exists.")
|
||||
return False
|
||||
|
||||
if len(cleartext_password) < 10:
|
||||
logging.warning("Password needs to be at least 10 characters long")
|
||||
if len(cleartext_password) < 9:
|
||||
logging.warning("Password needs to be at least 9 characters long")
|
||||
return False
|
||||
|
||||
parts = user.split("@")
|
||||
|
||||
@@ -12,7 +12,7 @@ and fill the two fields like this:
|
||||
- `Address`: invent a word with *exactly* nine characters
|
||||
and append `@{{config.mail_domain}}` to it.
|
||||
|
||||
- `Password`: invent at least 10 characters.
|
||||
- `Password`: invent at least 9 characters.
|
||||
|
||||
If the e-mail address is not yet taken, you'll get that account.
|
||||
The first login sets your password.
|
||||
|
||||
Reference in New Issue
Block a user