mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 01:16:27 +00:00
Add help text for password checkbox in user creation
This commit is contained in:
parent
dbe8223efc
commit
e57ec2ccd1
1 changed files with 12 additions and 1 deletions
|
@ -384,7 +384,18 @@ class AdherentCreationForm(AdherentForm):
|
|||
un champ mot de passe"""
|
||||
if OptionalUser.get_cached_value("allow_set_password_during_user_creation"):
|
||||
# Champ pour choisir si un lien est envoyé par mail pour le mot de passe
|
||||
init_password_by_mail = forms.BooleanField(required=False, initial=True)
|
||||
init_password_by_mail_info = _(
|
||||
"If this options is set, you will receive a link to set"
|
||||
" your initial password by email. If you do not have"
|
||||
" any means of accessing your emails, you can disable"
|
||||
" this option to set your password immediatly."
|
||||
)
|
||||
|
||||
init_password_by_mail = forms.BooleanField(
|
||||
help_text=init_password_by_mail_info,
|
||||
required=False,
|
||||
initial=True
|
||||
)
|
||||
init_password_by_mail.label = _("Send password reset link by email.")
|
||||
|
||||
# Champs pour initialiser le mot de passe
|
||||
|
|
Loading…
Reference in a new issue