Plume/templates
Baptiste Gelez a2b9d7ec44
Password reset (#448)
* Password reset

* Various improvements and fixes for password reset

- Reorganize src/mail.rs to make it  cleaner
- add a build_mail function
- only make the requests invalid after 2 hours
- avoid infintely-growing list of requests by deleting them once completed, or after 24 hours
- avoid sending many requests for the same user
- validate the password reset form

* Avoid locking so many times

Fix durations

* Remove old requests even if the current one is not valid

* Remove unused feature

* Also remove the custom_derive and plugin features while we are at it

* Forgot a 0 è_é

* Avoid panicking while owning a request lock

* Use master branch of lettre so that we can build with the latest OpenSSL

* Fix the debug mailer
2019-02-27 13:29:26 +01:00
..
blogs Update rocket_i18n and add gettext_macros (#431) 2019-02-02 15:23:50 +01:00
errors Update rocket_i18n and add gettext_macros (#431) 2019-02-02 15:23:50 +01:00
instance Add a page listing people someone follows (#444) 2019-02-26 13:13:00 +01:00
medias Update rocket_i18n and add gettext_macros (#431) 2019-02-02 15:23:50 +01:00
notifications Update rocket_i18n and add gettext_macros (#431) 2019-02-02 15:23:50 +01:00
partials Update rocket_i18n and add gettext_macros (#431) 2019-02-02 15:23:50 +01:00
posts Add a page listing people someone follows (#444) 2019-02-26 13:13:00 +01:00
search Update rocket_i18n and add gettext_macros (#431) 2019-02-02 15:23:50 +01:00
session Password reset (#448) 2019-02-27 13:29:26 +01:00
tags Update rocket_i18n and add gettext_macros (#431) 2019-02-02 15:23:50 +01:00
users Add a page listing people someone follows (#444) 2019-02-26 13:13:00 +01:00
base.rs.html Update rocket_i18n and add gettext_macros (#431) 2019-02-02 15:23:50 +01:00