From 33a6aab22db1bc17b813f7427ce403e4ac3fe1b9 Mon Sep 17 00:00:00 2001 From: ja Date: Thu, 7 Oct 2021 09:01:09 +0200 Subject: [PATCH] Login System verbessert. --- login/ChangePW.aspx.vb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/login/ChangePW.aspx.vb b/login/ChangePW.aspx.vb index d566dd5..fed4350 100644 --- a/login/ChangePW.aspx.vb +++ b/login/ChangePW.aspx.vb @@ -46,10 +46,9 @@ Partial Class login_ChangePW Style = vbAbortRetryIgnore + vbCritical + vbDefaultButton1 Title = "Error" - MsgBox(Msg, Style, Title) If MsgBox(Msg, Style, Title).Retry Then - Response.Redirect("ChangePW.aspx") + Response.Redirect(Request.RawUrl) ElseIf MsgBox(Msg, Style, Title).Abort Then Response.Redirect("../newPageJulius_Sidebar.aspx") ElseIf MsgBox(Msg, Style, Title).Ignore Then