Developer forum

Forum » Development » Forgot Password in standard page

Forgot Password in standard page


Reply

Hi there,

I am trying to implement a "Forgot password" functionality in a standard page. As far as I can see, I am using the correct form and field names, but no e-mail gets sent when I enter an existing user name. Other mail (such as order confirmations) seem to work fine. Is there something else I need to do to make this work?

You can see the work in progress here: http://test.nl.sapph.mediaweb.nl/nl-NL/mijn-sapph/wachtwoord-vergeten.aspx

Cheers,

Imar


Replies

 
Reply
Hi Imar,

I've implemented this once, for Infonavigator (https://crm.extranet.infonavigator.nl/Wachtwoord-opvragen.aspx), using the following form:

[form name="ExtUserForm" method="post" Action="Default.aspx?ID=232" onSubmit="return checkform();"]
[input type="hidden" name="ID" value="311"]
[input type="hidden" name="ForgotPassword" value="True"]
[input type="hidden" name="ForgotPasswordConfirm" value="Your password has been sent."]
Email: [input type="text" name="username" id="username"]
[input type="submit" class="buttonSubmit" value="Submit"]
[/form]

It seems at first that this is fairly the same approach as yours, except for some used hidden elements. I don't know if these elements are version specific or could actually cause the trouble you're experiencing. Maybe it has something to do with the uppercase 'U' in your username input field (although quit unlikely)...
 
Reply
Hi Tom,

Yes, that looks similar to mine.

If I copy all code use to send the password into my application, it all seems to work fine. So, stuff like Security.ForgotPassword seem to work fine.

It just doesn't send the e-mail, but I have no idea why....

Imar
 
Reply
Anyone any other suggestions? There's no log file (or at least that I can find), so I have no idea where to look or what to try next. I just spent two hours on this and I am getting a little bit frustrated about this.

Maybe a link to the documentation portal describing how to implement Forgot Password properly would be useful? ;-(

Imar
 
Reply
Hmmm, just got a reply from support. It seems to work if the Login code is in a template used to protect a page (e.g. Properties | Advanced | Permissions | Frontend settings, just as you pointed out, Tom.

There are days that I <3 Dynamicweb, and there are days that I don't..... Pffffff


Imar

 

You must be logged in to post in the forum