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