Password reset by user itself
Posted: Mon Nov 04, 2019 8:56 pm
Hi,
Currently if user forget the password then he/she is sending an email to administrator with request to reset it - and of course such process works fine.
However I am just wondering if such process could be automated in following way for example:
1. On login page there is a button "Password reset" so the user can enter his e-mail or login
2. After nuBuilder is sending link to the given e-mail box with a link allowing password reset.
3. After receiving an email user can click on the link and he/she can enter new password - or just random password will be sent back to the same e-mail
For the moment it looks to me quite complicated to implement in nuBuilder - because some actions has to be done without login into nuBuilder.
But maybe some PHP script can be used to process such request acessing directly MariaDB, or ....?
Do you have some experience with such case - or some other suggestions how to handle password change by user itself in the secure way?
Currently if user forget the password then he/she is sending an email to administrator with request to reset it - and of course such process works fine.
However I am just wondering if such process could be automated in following way for example:
1. On login page there is a button "Password reset" so the user can enter his e-mail or login
2. After nuBuilder is sending link to the given e-mail box with a link allowing password reset.
3. After receiving an email user can click on the link and he/she can enter new password - or just random password will be sent back to the same e-mail
For the moment it looks to me quite complicated to implement in nuBuilder - because some actions has to be done without login into nuBuilder.
But maybe some PHP script can be used to process such request acessing directly MariaDB, or ....?
Do you have some experience with such case - or some other suggestions how to handle password change by user itself in the secure way?