diff --git a/canaille/core/configuration.py b/canaille/core/configuration.py index 4fdd6feb..aa670f60 100644 --- a/canaille/core/configuration.py +++ b/canaille/core/configuration.py @@ -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. """ diff --git a/canaille/translations/messages.pot b/canaille/translations/messages.pot index bbc0572e..7f888421 100644 --- a/canaille/translations/messages.pot +++ b/canaille/translations/messages.pot @@ -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 \n" "Language-Team: LANGUAGE \n"