close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

SecurityAssist Not Sending Unencrypted Random Password

Thread began 5/28/2010 12:44 am by mora398588 | Last modified 6/03/2010 11:25 am by Jason Byrnes | 1090 views | 4 replies |

mora398588

SecurityAssist Not Sending Unencrypted Random Password

I purchased the user registration solution pack and have fully integrated it into my website. I would like to modify the users_EmailPW.php file to send a random password. I noticed that URSP already created a "Random Password" variable; however, it does not appear to be sending a random password when using the URSP forgot password page.

I reviewed your securityassist solution recipe in adding the random password feature, including using dataassist's "update single record" to create the means of updating my DB's password field.

When I uploaded all the necessary files, I tested the page and got back a long, encrypted password which I am assuming is what my DB currently has on file. Of course, this is not what I would like my users to see.

I am need of direction on how to correct my error and get myself back on the path of having a new, random password being emailed to the user while updating and encrypting the password in the DB.

Sign in to reply to this post

Jason ByrnesWebAssist

On the Email Password page, double click the email password server behavior.

Go to the third tab where you can configure the email message.

Remove the reference to the Password column from the database (This is the long encrypted value).

Then click the plus button and select the NewPW session value.

Sign in to reply to this post

mora398588

What about the universal email variable? The EmailPW.php file originally came with this variable already configured. Am I to delete this and use securityassist's email password to replace the current universal email variable?

Sign in to reply to this post

mora398588

Also, I noticed that the update record server behavior displayed a red exclamation point after I inserted the securityassist email password server behavior. I am uncertain as to where the error is occurring. Could the reason be that the file is from the URSP and has specific configurations already in place?

Furthermore, I noticed that the "show if" region, confirmining that an email was sent was no longer displaying when the send button was pressed (this was after I made the changed outlined in your securityassist "Send Password" solution recipe).

Any thoughts?

Sign in to reply to this post

Jason ByrnesWebAssist

I;m sorry, I missed that this was for the User Registration solution pack.

To get the user registration solution pack to email the unencrypted password, you wont use the security Assist email password behavior, you will just need to modify the WA_UniveresalEmail/Email_Templates/Lostpassword.php page.

Change:

php:
<?php echo($row_LostPW['UserPassword']); ?>


to:

php:
<?php echo($_SESSION['NewPW']); ?>
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...