Änderung der Validation methoden
This commit is contained in:
@@ -59,7 +59,7 @@ Partial Class login_ChangePW
|
||||
reqPasswtxt.Validate()
|
||||
reqPassw1txt.Validate()
|
||||
reqPassw1txt_M.Enabled = False
|
||||
reqPasswtxt.Enabled = False
|
||||
reqPasswtxt.Enabled = True
|
||||
tempstr = txt_Pw.Text
|
||||
ElseIf String.IsNullOrEmpty(txt_Pw.Text) = True AndAlso String.IsNullOrEmpty(txt_Pw_WH.Text) = True AndAlso txt_Pw.Attributes.Item("Placeholder") = Not True AndAlso txt_Pw_WH.Attributes.Item("Placeholder") = "Repeat Password" AndAlso txt_Pw.Attributes.Item("Placeholder") = "Repeat Password" Then
|
||||
|
||||
@@ -85,6 +85,7 @@ Partial Class login_ChangePW
|
||||
'Response.Redirect("login_FLEX.aspx")
|
||||
'End If
|
||||
ElseIf txt_Pw_M.Text = tempstr And txt_Pw_WH_M.Text = tempstr AndAlso txt_Pw.Text = String.Empty And txt_Pw_M.Text = String.Empty Then
|
||||
|
||||
Msg = "PW erfolgreich geändert!"
|
||||
Style = vbOKOnly + vbInformation + vbDefaultButton1
|
||||
Title = "Information"
|
||||
|
||||
Reference in New Issue
Block a user