Account Recovery Em...
 
Notifications
Clear all

Account Recovery Email

2 Posts
2 Users
0 Reactions
686 Views
(@squall)
Posts: 4
Active Member
Topic starter
 

Hi,

Does Combu 3 has Account Recovery Email feature ? If yes, can you point me to the right direction because I can't find it.

 

Thanks and Regards,

 
Posted : 13/04/2018 7:47 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

If you have set REGISTER_EMAIL_REQUIRED to TRUE in your config.php then you can use the built-in feature of resetting & changing the user's password:

  • call one of the two overload methods User.ResetPassword(username, callback) or User.ResetPassword(id, callback): if success then the system will send an email to the user with a random code string
  • pass this code to User.ChangePassword() like here

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 13/04/2018 8:10 pm
Share: