Project

General

Profile

Development #9875

Send password_reset mail to user created through the user create API

Added by Benjamin Dauvergne over 3 years ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
Start date:
04 Feb 2016
Due date:
% Done:

100%

Patch proposed:
No
Planning:
No

Description

It's also a good occasion to factorize all password reset mechanisms.

Associated revisions

Revision e0091e52 (diff)
Added by Benjamin Dauvergne over 3 years ago

add unique index to PasswordReset.user (#9875)

Revision 40b513a9 (diff)
Added by Benjamin Dauvergne over 3 years ago

pop send_registration_mail from payload in user's update API (#9875)

Registration mail can only be sent on create event.

Revision 18e992f3 (diff)
Added by Benjamin Dauvergne over 3 years ago

add request parameter to send_templated_mail (#9875)

Revision 0c67f79f (diff)
Added by Benjamin Dauvergne over 3 years ago

add support for legacy templates to send_templated_mail (#9875)

Revision 709b60c2 (diff)
Added by Benjamin Dauvergne over 3 years ago

add send_password_reset_mail() (#9875)

Revision a98f61bc (diff)
Added by Benjamin Dauvergne over 3 years ago

use send_password_reset_mail to implement PasswordResetForm (#9875)

Revision a06ee2b8 (diff)
Added by Benjamin Dauvergne over 3 years ago

use send_password_reset_mail to implement action_password_reset (#9875)

Revision 610ac5dd (diff)
Added by Benjamin Dauvergne over 3 years ago

pass password to templates in user's API registration mail (#9875)

Revision acc8a092 (diff)
Added by Benjamin Dauvergne over 3 years ago

add force_password_reset field to users' API (#9875)

When set to True it creates a PasswordReset object for the user (on update and
on creation).

Revision a9a248bd (diff)
Added by Benjamin Dauvergne over 3 years ago

send reset_password emails when registration is done through create user API (#9875)

Revision 19a22af7 (diff)
Added by Benjamin Dauvergne over 3 years ago

update french translations (fixes #9875)

Revision ff1af589 (diff)
Added by Benjamin Dauvergne over 3 years ago

fix site_name in password reset templates (#9875)

Revision 6eb6c550 (diff)
Added by Benjamin Dauvergne over 3 years ago

fix template names for password reset email send by user creation API (#9875)

Revision 5a3b1ed2 (diff)
Added by Benjamin Dauvergne over 3 years ago

use payload data instead of API user in template (#9875)

Revision 316740af (diff)
Added by Benjamin Dauvergne over 3 years ago

Fix template name in send_password_reset_mail (#9875)

History

#2 Updated by Benjamin Dauvergne over 3 years ago

  • Description updated (diff)
  • Subject changed from Add flag to force password change on next login to the user API to Send password_reset mail to user created through the user create API

#3 Updated by Benjamin Dauvergne over 3 years ago

  • Status changed from Nouveau to Résolu (à déployer)
  • % Done changed from 0 to 100

#4 Updated by Frédéric Péters over 3 years ago

(for the record montpellier used the password_reset_email.html template and got broken by this)

#5 Updated by Benjamin Dauvergne over 3 years ago

  • Status changed from Résolu (à déployer) to Solution déployée

#6 Updated by Benjamin Dauvergne over 1 year ago

  • Status changed from Solution déployée to Fermé

Also available in: Atom PDF