Forums / Developer / Forgot Password [Password Reminder] functionality in EZ3

Forgot Password [Password Reminder] functionality in EZ3

Author Message

Srinivas Rao

Friday 24 October 2003 10:18:25 pm

Hi everybody,

I am using ez 3.1-1 for developing a small website and need your help desperately. I would like to have a password reminder functionality done. ie. the user would give their Email id and user name and the password should be fetched from the datbase and should be emailed to the concerned user. How can I implement it.
Need you help!!!

Thanks in Advance
Srinivasa Rao

Marco Zinn

Saturday 25 October 2003 12:20:32 am

Hi,
bad news: you cannot send the password to a user, because the password itself is not stored, just a hash code of it. This is very common in "password" systems.
Good news: There is a good function, where a user can request a news password, when he enters his email adress.
You can access the function with the URL /user/forgotpassword/ (just like here at ez.no. The Link appears on the right side of the "login" page).
Will that help you?

Marco
http://www.hyperroad-design.com

Srinivas Rao

Sunday 26 October 2003 9:03:22 pm

Hi,

Thanx for giving the reply. I am searching for this functionality in eZ-3. Now I got the solution.

Warm Regards,
Srinivasa Rao

chacha chacha

Monday 05 March 2007 8:20:31 am

Hi,
When a user on the web-site forgot is password, he will have a message on his mailbox.
He can click to generate a new password.
All is ok for me.

But I try to send also to the user his <b>login</b> so but impossible.

On the template forgotpassword.tpl
I have :
Your email: {$user.email}

But the login how I can ?
Should I change an array or anything on the forgotpasswordmailtpl ?

Thanks

Fabricio Guerrero

Monday 05 March 2007 9:03:09 am

i haven't tried this but have you tried adding:

Username: {$user.login}

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

Xavier Dutoit

Monday 05 March 2007 9:04:00 am

Hi,

If I remember properly, this isn't available unfortunately in that template.
I think I did fill a feature request, if not I suggest to create one.

X+

P.S. A better option would be to send a link to a page that allows the user to enter a new password instead of a page that generate a new password and send it by email to the user (without the login information).

http://www.sydesy.com