C# Class HacmeBank_v2_Website.ascx.PasswordChange

PasswordChange class.
Auto-generated class.
Mostrar archivo Open project: o2platform/Demos_Files

Protected Properties

Property Type Description
btnSubmit global::System.Web.UI.WebControls.Button
lblConformPassword global::System.Web.UI.WebControls.Label
lblErrorMessage global::System.Web.UI.WebControls.Label
lblMessage global::System.Web.UI.WebControls.Label
lblNewPassword global::System.Web.UI.WebControls.Label
lblOldPassword global::System.Web.UI.WebControls.Label
txtConfirmPassword global::System.Web.UI.WebControls.TextBox
txtNewPassword global::System.Web.UI.WebControls.TextBox
txtOldPassword global::System.Web.UI.WebControls.TextBox

Protected Methods

Method Description
OnInit ( EventArgs e ) : void
Page_Load ( object sender, System e ) : void
btnSubmit_Click ( object sender, System e ) : void

vulnerability: The check for the old password is never made before the password is changed

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Method Details

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e EventArgs
return void

Page_Load() protected method

protected Page_Load ( object sender, System e ) : void
sender object
e System
return void

btnSubmit_Click() protected method

vulnerability: The check for the old password is never made before the password is changed
protected btnSubmit_Click ( object sender, System e ) : void
sender object
e System
return void

Property Details

btnSubmit protected_oe property

btnSubmit control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnSubmit
return global::System.Web.UI.WebControls.Button

lblConformPassword protected_oe property

lblConformPassword control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblConformPassword
return global::System.Web.UI.WebControls.Label

lblErrorMessage protected_oe property

lblErrorMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblErrorMessage
return global::System.Web.UI.WebControls.Label

lblMessage protected_oe property

lblMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblMessage
return global::System.Web.UI.WebControls.Label

lblNewPassword protected_oe property

lblNewPassword control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblNewPassword
return global::System.Web.UI.WebControls.Label

lblOldPassword protected_oe property

lblOldPassword control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblOldPassword
return global::System.Web.UI.WebControls.Label

txtConfirmPassword protected_oe property

txtConfirmPassword control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtConfirmPassword
return global::System.Web.UI.WebControls.TextBox

txtNewPassword protected_oe property

txtNewPassword control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtNewPassword
return global::System.Web.UI.WebControls.TextBox

txtOldPassword protected_oe property

txtOldPassword control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtOldPassword
return global::System.Web.UI.WebControls.TextBox