DMXzone Security Provider PHP Support Product Page

Answered

Forgot password utility

Asked 07 Oct 2016 15:08:38
1
has this question
07 Oct 2016 15:08:38 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 11 Oct 2016 14:34:16
11 Oct 2016 14:34:16 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 03 Nov 2016 12:12:40
03 Nov 2016 12:12:40 David Woolley replied:
Hi Teodor - how about a video tutorial? This would be very useful.
Cheers
Dave
Replied 03 Nov 2016 12:25:35
03 Nov 2016 12:25:35 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 22 Mar 2017 09:03:33
22 Mar 2017 09:03:33 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 22 Mar 2017 09:36:00
22 Mar 2017 09:36:00 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 22 Mar 2017 10:00:52
22 Mar 2017 10:00:52 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