C# Class HacmeBank_v2_Website.ascx.PasswordChange

PasswordChange class.
Auto-generated class.
Afficher le fichier Open project: o2platform/Demos_Files

Protected Properties

Свойство 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

Méthodes protégées

Méthode 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

Méthode Description
InitializeComponent ( ) : void

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

Method Details

OnInit() protected méthode

protected OnInit ( EventArgs e ) : void
e EventArgs
Résultat void

Page_Load() protected méthode

protected Page_Load ( object sender, System e ) : void
sender object
e System
Résultat void

btnSubmit_Click() protected méthode

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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat global::System.Web.UI.WebControls.TextBox