Korrektes Löschen des Tokens
This commit is contained in:
@@ -246,7 +246,10 @@ Partial Class login_ForgotPW
|
|||||||
If wenn > DateTime.UtcNow.AddMinutes(-30) Then
|
If wenn > DateTime.UtcNow.AddMinutes(-30) Then
|
||||||
tokenname = String.Empty
|
tokenname = String.Empty
|
||||||
'MsgBox("Token has not been found or is too old!" + Environment.NewLine + "Please send a new E-mail!")
|
'MsgBox("Token has not been found or is too old!" + Environment.NewLine + "Please send a new E-mail!")
|
||||||
|
|
||||||
Session.Remove("TokenforEmail")
|
Session.Remove("TokenforEmail")
|
||||||
|
|
||||||
|
|
||||||
Return False
|
Return False
|
||||||
ElseIf tokenname = "NotYet" Then
|
ElseIf tokenname = "NotYet" Then
|
||||||
Session.Remove("TokenforEmail")
|
Session.Remove("TokenforEmail")
|
||||||
|
|||||||
Reference in New Issue
Block a user