Änderungen encryptionalgorithmus token email
This commit is contained in:
@@ -7,16 +7,22 @@ Partial Class login_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 Then
|
||||
If getDateoftoken(VERAG_PROG_ALLGEMEIN.cCryptography.Decrypt(Request.QueryString("Par1"))) = True Then
|
||||
txt_Pw_WH.Enabled = False
|
||||
txt_Pw.Enabled = False
|
||||
regexval_txt_Pw_WH.Enabled = False
|
||||
txt_Pw_WH.Enabled = True
|
||||
txt_Pw.Enabled = True
|
||||
regexval_txt_Pw_WH.Enabled = True
|
||||
If IsPostBack Then
|
||||
reqPasswtxt.Validate()
|
||||
reqPassw1txt.Validate()
|
||||
End If
|
||||
Else
|
||||
btn_submitpw.Enabled = False
|
||||
|
||||
txt_Pw.BackColor = Drawing.Color.Gray
|
||||
txt_Pw.ForeColor = Drawing.Color.DarkGray
|
||||
txt_Pw_WH.Enabled = False
|
||||
txt_Pw_WH.BackColor = Drawing.Color.Gray
|
||||
txt_Pw_WH.ForeColor = Drawing.Color.DarkGray
|
||||
txt_Pw.Enabled = False
|
||||
regexval_txt_Pw_WH.Enabled = False
|
||||
End If
|
||||
Else
|
||||
MsgBox("Link ist abgelaufen. Bitte neue E-Mail senden.", MsgBoxStyle.Critical, "Error06")
|
||||
@@ -102,7 +108,6 @@ Partial Class login_ChangePW
|
||||
tokenname = ""
|
||||
MsgBox("Token nicht gefunden oder zu alt!" + Environment.NewLine + "Bitte erneut Mail senden!")
|
||||
Else
|
||||
|
||||
Return True
|
||||
End If
|
||||
End Function
|
||||
|
||||
Reference in New Issue
Block a user