DMXzone Security Provider PHP Support Product Page

Answered

Forgot password utility

8 years ago David Woolley posted:
Does Security Provider have a 'Forgot Password' utility, so that a user can receive a new password by email, then login with this password, then change it ?

Replies

Replied 8 years ago
8 years ago Teodor Kuduschiev replied:
Hello David,
No, there is no such an utility included. You can build it by your own, creating a forgot password form, using the server connect extension and the mailer tool.
Replied 8 years ago
8 years ago David Woolley replied:
Hi Teodor - how about a video tutorial? This would be very useful.
Cheers
Dave
Replied 8 years ago
8 years ago Teodor Kuduschiev replied:
Hi David,
The steps are really easy.
1. Filter the users query by the user email.
2. Add a repeat steps after the filtered query, and use the query as an expression
3. Add the send mail step and use the values from the repeater to send the email
Replied 8 years ago
8 years ago Firdaus Rohman replied:
Hello Teodor,

I also want to setup send forgotten password. Followed the steps, but I'm not sure where should I put validation? Because the action will always be successful without validation in my case. Or what's wrong with my step?
Replied 8 years ago
8 years ago Firdaus Rohman replied:
Hi,

I've removed the validation and now what happens. The event will success only when the email is not available in the database. When the input email matches email in the database, there will be error: "Unexpected token, expecting (])."

The steps.

Sorry for interrupting here. Let me know if I should ask it elsewhere.
Replied 8 years ago
8 years ago Firdaus Rohman replied:
Hi again

Please ignore my previous reply as I've rectified the error, but I still have the issues with validation because the action is always successful. My database query filter.

Reply to this topic