Description
The BeforeChangePassword event is executed on the Change Password page before the password is changed.
Syntax
public XVar BeforeChangePassword(dynamic oldpassword, dynamic newpassword, dynamic 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
•Insert a record into another table
•Check to see if a specific record exists
•Display a message on the Web page
See also:
•How to hash your passwords manually
•Working with common pages. Auxiliary pages