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
This commit is contained in:
@@ -73,6 +73,22 @@ msgstr "Modifica"
|
||||
msgid "You need to be logged in order to reshare a post"
|
||||
msgstr "Devi effettuare l'accesso per vedere le tue notifiche"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Password reset"
|
||||
msgstr "Password"
|
||||
|
||||
# src/routes/session.rs:156
|
||||
msgid "Here is the link to reset your password: {0}"
|
||||
msgstr ""
|
||||
|
||||
# src/routes/session.rs:199
|
||||
msgid "Your password was successfully reset."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/session.rs:214
|
||||
msgid "Sorry, but the link expired. Try again"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "You need to be logged in order to access your dashboard"
|
||||
msgstr "Devi effettuare l'accesso per accedere al tuo pannello"
|
||||
@@ -480,6 +496,36 @@ msgstr "Vai alla tua galleria"
|
||||
msgid "No more result for your query"
|
||||
msgstr ""
|
||||
|
||||
msgid "Reset your password"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "New password"
|
||||
msgstr "Password"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Confirmation"
|
||||
msgstr "Configurazione"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Update password"
|
||||
msgstr "Aggiorna account"
|
||||
|
||||
msgid "Check your inbox!"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"We sent a mail to the address you gave us, with a link to reset your "
|
||||
"password."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "E-mail"
|
||||
msgstr "Email"
|
||||
|
||||
msgid "Send reset link"
|
||||
msgstr ""
|
||||
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user