Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Global events > Change password page

Events. Before change password

Scroll Prev Next More

Description

The BeforeChangePassword event is executed on the Change Password page before the password is changed.

Syntax

BeforeChangePassword($oldpassword,$newpassword,$pageObject)

Arguments

$oldpassword

an old password.

$newpassword

a new password.

$pageObject

an object representing the current page. For more information, see RunnerPage class.

Return value

True: allow the password to be changed.

 

False: do not allow the password to be changed.

Applies to pages

Change Password.

Recommended predefined actions and sample events

•Send a simple email

•Insert a record into another table

•Check to see if a specific record exists

•Display a message on the Web page

•Redirect to another page

See also:

•Registration and passwords

•How to hash your passwords manually

•After password change

•Working with common pages. Auxiliary pages

 

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software