Änderungen
This commit is contained in:
@@ -9,13 +9,17 @@ Partial Class ChangePW
|
||||
Session.Add("urltochangepw", url)
|
||||
If VERAG_PROG_ALLGEMEIN.cCryptography.Decrypt(Session.Item("TokenforEmail").ToString()) = VERAG_PROG_ALLGEMEIN.cCryptography.Decrypt(Request.QueryString("Par1")) AndAlso VERAG_PROG_ALLGEMEIN.cCryptography.Decrypt(Session.Item("TokenforEmail").ToString()) = Not Nothing AndAlso VERAG_PROG_ALLGEMEIN.cCryptography.Decrypt(Request.QueryString("Par1")) = Not Nothing And VERAG_PROG_ALLGEMEIN.cCryptography.Decrypt(Session.Item("USerID").ToString()) = VERAG_PROG_ALLGEMEIN.cCryptography.Decrypt(Request.QueryString("Par2")) Then
|
||||
If getDateoftoken(VERAG_PROG_ALLGEMEIN.cCryptography.Decrypt(Request.QueryString("Par1"))) = True Then
|
||||
txt_Pw_WH.Enabled = True
|
||||
txt_Pw.Enabled = True
|
||||
regexval_txt_Pw_WH.Enabled = True
|
||||
If IsPostBack Then
|
||||
reqPasswtxt.Validate()
|
||||
reqPassw1txt.Validate()
|
||||
End If
|
||||
Try
|
||||
txt_Pw_WH.Enabled = True
|
||||
txt_Pw.Enabled = True
|
||||
regexval_txt_Pw_WH.Enabled = True
|
||||
If IsPostBack Then
|
||||
reqPasswtxt.Validate()
|
||||
reqPassw1txt.Validate()
|
||||
End If
|
||||
Catch exc As Exception
|
||||
MsgBox(exc)
|
||||
End Try
|
||||
Else
|
||||
btn_submitpw.Enabled = False
|
||||
txt_Pw.BackColor = Drawing.Color.Gray
|
||||
|
||||
Reference in New Issue
Block a user