doc: 'PASSWORD_LIFETIME' wording

This commit is contained in:
Éloi Rivard 2024-12-22 16:12:50 +01:00
parent a20ba92064
commit 29535d5032
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184
2 changed files with 6 additions and 7 deletions

View file

@ -378,9 +378,8 @@ class CoreSettings(BaseModel):
PASSWORD_LIFETIME: str | None = None PASSWORD_LIFETIME: str | None = None
"""Password validity duration. """Password validity duration.
If a value is recorded Canaille will check if user's password is expired. If set, user passwords expire after this delay.
Then, the user is forced to change his password when the lifetime of the password is over. Users are forced to change their password when the lifetime of the password is over.
This value is expressed in `ISO8601 format <https://en.wikipedia.org/wiki/ISO_8601#Durations>`_. The duration value is expressed in `ISO8601 format <https://en.wikipedia.org/wiki/ISO_8601#Durations>`_.
Example for 60 days: "P60D" Example a delay of 60 days is written "P60D".
It is possible to disable this option by entering None.
""" """

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: canaille 0.0.56\n" "Project-Id-Version: canaille 0.0.56\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-22 12:26+0100\n" "POT-Creation-Date: 2024-12-22 16:12+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"
@ -4414,7 +4414,7 @@ msgstr ""
#: ../../docstring of canaille.core.configuration.CoreSettings.PASSWORD_LIFETIME:3 #: ../../docstring of canaille.core.configuration.CoreSettings.PASSWORD_LIFETIME:3
#: 4262b875a3a148dab5e94595cb2a981f #: 4262b875a3a148dab5e94595cb2a981f
msgid "If a value is recorded Canaille will check if user's password is expired. Then, the user is forced to change his password when the lifetime of the password is over. This value is expressed in `ISO8601 format <https://en.wikipedia.org/wiki/ISO_8601#Durations>`_. Example for 60 days: \"P60D\" It is possible to disable this option by entering None." msgid "If set, user passwords expire after this delay. Users are forced to change their password when the lifetime of the password is over. The duration value is expressed in `ISO8601 format <https://en.wikipedia.org/wiki/ISO_8601#Durations>`_. Example a delay of 60 days is written \"P60D\"."
msgstr "" msgstr ""
#: ../../docstring of canaille.core.configuration.CoreSettings.SENTRY_DSN:1 #: ../../docstring of canaille.core.configuration.CoreSettings.SENTRY_DSN:1