forked from Github-Mirrors/canaille
doc: password length configuration wording
This commit is contained in:
parent
940f2ea078
commit
bdb61a5b38
2 changed files with 6 additions and 6 deletions
|
@ -307,16 +307,16 @@ class CoreSettings(BaseModel):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
MIN_PASSWORD_LENGTH: int = 8
|
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
|
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
|
There is a technical of 4096 characters with the SQL backend.
|
||||||
characters. If the value entered is 0 or None, or greater than 4096,
|
If the value is 0, :data:`None`, or greater than 4096,
|
||||||
then 4096 will be retained.
|
then 4096 will be retained.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PROJECT VERSION\n"
|
"Project-Id-Version: PROJECT VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\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"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|
Loading…
Reference in a new issue