Development #7248
manager: allow changing password from the user edit form
Début:
14 mai 2015
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Description
It should also be possible to generate a password and to send the new password by mail to the user.
Révisions associées
passwords: add a function to generate password
It can only accomodate A2_PASSWORD_POLICY_MIN_LENGTH and
A2_PASSWORD_POLICY_MIN_CLASSES, it is not possible currently to generate
something that will match A2_PASSWORD_POLICY_REGEX with certainty. It would
need to generate a transducer from the regular expression. refs #7248.
Historique
Mis à jour par Benjamin Dauvergne il y a presque 9 ans
- Statut changé de Nouveau à Résolu (à déployer)
Fixed by commit 25ad9166
Mis à jour par Benjamin Dauvergne il y a environ 8 ans
- Statut changé de Résolu (à déployer) à Solution déployée
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Statut changé de Solution déployée à Fermé
utils: add a send templated mail function
It takes an email or an user as first argument then a template name prefix then
a context dictionnary. the following templates are used:
- <prefix>_subject.txt
- <prefix>_body.txt
- <prefix>_body.html
By default if an HTML template is found, it is used to add an HTML version of
the mail. refs #7248.