close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Change password page problem!

Thread began 1/01/2012 2:41 am by steelace396915 | Last modified 1/04/2012 8:43 am by steelace396915 | 1322 views | 5 replies |

steelace396915

Change password page problem!

I have built a set of SecurityAssist pages from wizard and got almost everything working. I have one major problem though!

The change/update password page works in general but it does not prevent inserting a not registered email address in database. For example, a user who is registered can change his password through the change password page process but if he inserts an incorrect email address it too changes in database along with the new password!?? Of course I dont want that to happen. How do I restrict a user from changing his password if the email entered in change password page is not registered for that user in database!?
Please help!

Regards,
Martin J.

Sign in to reply to this post

Jason ByrnesWebAssist

you can edit the update record behavior on the new password page and remove the binding for the email address column so that the email address cannot be changed.

Sign in to reply to this post

steelace396915

Thanks Jason! I don't understand that I could not figure that out myself!? lol Sometimes the "computer" gets overloaded! ;=)

Sign in to reply to this post

steelace396915

One more (maybe stupid) question! If I want to remove the email formfield from the reset password section in the forgetpassword page (page/section where the user reset the password after clicking the link in email messege) what do I remove in the server behaviours panel? I did remove the binding in the update server behaviour so the email dont update whatever the user puts in so its no need to keep the email field at all. Ive tried to hide it but that didn't work.?

Martin J.

Sign in to reply to this post

Jason ByrnesWebAssist

in addition to deleting the form element, you will need to delete the following code at line 32 -33:

php:
$WAFV_Errors .= WAValidateEM((isset($_POST["Reset_Password_group_E_post"])?$_POST["Reset_Password_group_E_post"]:"") . "",true,1);

  $WAFV_Errors .= WAValidateUnique("mydatabase_se",$mydatabase_se,$database_mydatabase_se,"member","MemberID","none,none,NULL","".((isset($_GET["fp_id"]))?$_GET["fp_id"]:"0")  ."","MemberEmail","',none,''","".((isset($_POST["Reset_Password_group_E_post"]))?$_POST["Reset_Password_group_E_post"]:"")  ."",true,2);
Sign in to reply to this post

steelace396915

Thanks a lot Jason! That took care of the problem! Really appreciate your help!

/Martin J.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...