Implementierung der mobile Bool paramter zur Identifizerung ob es mobil oder normal gesendet wurde
This commit is contained in:
@@ -185,7 +185,13 @@ Partial Class login_Change_PW
|
||||
Dim nameoftoken = VERAG_PROG_ALLGEMEIN.cCryptography2.Decrypt(tokenname)
|
||||
If wenn < DateTime.UtcNow.AddMinutes(-30) Then
|
||||
nameoftoken = String.Empty
|
||||
If VERAG_PROG_ALLGEMEIN.cCryptography.Decrypt(Session.Item("Mob").ToString()) = "True" Then
|
||||
lbl_messagetext.Text = "Token has not been found or is too old!" + Environment.NewLine + "Please send a new E-mail!"
|
||||
ElseIf VERAG_PROG_ALLGEMEIN.cCryptography.Decrypt(Session.Item("Mob").ToString()) = "False" Then
|
||||
lbl_messagetext_M.Text = "Token has not been found or is too old!" + Environment.NewLine + "Please send a new E-mail!"
|
||||
End If
|
||||
'MsgBox("Token has not been found or is too old!" + Environment.NewLine + "Please send a new E-mail!")
|
||||
|
||||
Session.Remove("TokenforEmail")
|
||||
Return False
|
||||
ElseIf nameoftoken = "Error04" Then
|
||||
|
||||
Reference in New Issue
Block a user