Skip to content

Commit

Permalink
doc: password length configuration wording
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Dec 8, 2024
1 parent 940f2ea commit bdb61a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions canaille/core/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,16 +307,16 @@ class = "logging.handlers.WatchedFileHandler"
"""

MIN_PASSWORD_LENGTH: int = 8
"""Minimum length for user password.
"""User password minimum length.
It is possible not to set a minimum, by entering None or 0.
If 0 or :data:`None`, password won't have a minimum length.
"""

MAX_PASSWORD_LENGTH: int = 1000
"""Maximum length for user password.
"""User password maximum length.
There is a technical limit with passlib used by sql database of 4096
characters. If the value entered is 0 or None, or greater than 4096,
There is a technical of 4096 characters with the SQL backend.
If the value is 0, :data:`None`, or greater than 4096,
then 4096 will be retained.
"""

Expand Down
2 changes: 1 addition & 1 deletion canaille/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-12-08 11:32+0100\n"
"POT-Creation-Date: 2024-12-08 11:58+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down

0 comments on commit bdb61a5

Please sign in to comment.