issues
search
offspot
/
imager-service
Create Kiwix Hotspot microSD cards online
https://imager.kiwix.org/
GNU General Public License v3.0
12
stars
6
forks
source link
added password reset procedure
#209
Closed
rgaudin
closed
3 years ago
rgaudin
commented
3 years ago
PasswordResetCode model to store requests
email method to send emails via mailgun
settings from env for mailgun variables
settings for public cardshop url (for link in email)
new password-reset/ endpoint to enter email and start a reset request
creates a PasswordResetCode
sends an email with the request code and a link to autofill code in form
new password-resert/confirm endpoint to enter validation code and new password
validates code (24h expiry)
changes the password
deletes the PasswordResetCode