one time password for new Users

DB1
Tera Contributor

Hi All,

I am looking for some help where the requirement is as follows:

1. New User should be created via catalog - This is done and working

2. Notification should be sent to user with a One time password and forcing them to reset the password momentarily while this OTP is entered.

Look forward for the help. TIA

 

1 ACCEPTED SOLUTION

Hi @DB 

Is your issue resolved?


Feel free to mark correct, if your issue has been resolved, so it ends up in solved queue.

Will be helpful for others looking for the similar query.

Best Regards
Aman Kumar

View solution in original post

14 REPLIES 14

Aman Kumar S
Kilo Patron

Instead of OTP, why don't you generate a random password and set that on user table as well as  set Password reset required field on user table as True.

This will force the user to login for the first time using temp password and it will take them to reset password page, that will enable to set their own password.

Follow below link to generate random password:

Randomly generated password for new accounts/ password reset script

Best Regards
Aman Kumar

DB1
Tera Contributor

Hi Aman,

Thanks for the quick reply.

However, I land on this page when I enter the password and user name generated from the email

Sorry your attachment is broken, can you re-attach

Best Regards
Aman Kumar

DB1
Tera Contributor

find_real_file.png