Korrektes Löschen des Tokens

This commit is contained in:
ja
2021-10-14 09:20:46 +02:00
parent 1fbe8e8d44
commit 13be7a181d

View File

@@ -246,7 +246,10 @@ Partial Class login_ForgotPW
If wenn > DateTime.UtcNow.AddMinutes(-30) Then
tokenname = String.Empty
'MsgBox("Token has not been found or is too old!" + Environment.NewLine + "Please send a new E-mail!")
Session.Remove("TokenforEmail")
Return False
ElseIf tokenname = "NotYet" Then
Session.Remove("TokenforEmail")