From a37fe565e91d18736b9048f0ecb15aada3f6b217 Mon Sep 17 00:00:00 2001 From: ja Date: Thu, 18 Nov 2021 14:54:25 +0100 Subject: [PATCH] =?UTF-8?q?Revert=20"=C3=84nderungen=20back=20to=20Login?= =?UTF-8?q?=20Linkbutton=20eingebaut"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 00c5edffd615b2c973dcff21ba3cc98c08067ba3. --- login/Change_PW.aspx | 10 ---------- login/Change_PW.aspx.vb | 17 ++--------------- 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/login/Change_PW.aspx b/login/Change_PW.aspx index 5250ee3..397cbe5 100644 --- a/login/Change_PW.aspx +++ b/login/Change_PW.aspx @@ -307,11 +307,6 @@ - - -
- - @@ -391,11 +386,6 @@ - - -
- - diff --git a/login/Change_PW.aspx.vb b/login/Change_PW.aspx.vb index ccc3f24..df59545 100644 --- a/login/Change_PW.aspx.vb +++ b/login/Change_PW.aspx.vb @@ -8,8 +8,7 @@ Partial Class login_Change_PW Dim url = Request.ServerVariables("URL") Session.Add("urltochangepw", url) Dim ConnectionString = "" - btn_toLogin.Visible = False - btn_toLogin_M.Visible = False + If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM = True 'ConnectionString = "Server=DEVELOPER\DEVSQL;Database=VERAG_HOMEPAGE;Uid=sa;Pwd=BmWr501956" @@ -71,7 +70,6 @@ Partial Class login_Change_PW VERAG_VARIABLES.seterrorcount(1) lbl_messagetext.Text = VERAG_VARIABLES.geterrornumb + "Link ist abgelaufen. Bitte neue E-Mail senden." 'Response.Redirect("ForgotPW.aspx") - btn_toLogin.Visible = True End If dr.Close() End If @@ -174,8 +172,7 @@ Partial Class login_Change_PW End Using Else VERAG_VARIABLES.seterrorcount(22) - 'lbl_messagetext.Text = VERAG_VARIABLES.geterrornumb + "Error bei der Passwort-Validation." - btn_toLogin.Visible = True + lbl_messagetext.Text = VERAG_VARIABLES.geterrornumb + "Error bei der Passwort-Validation." End If Else @@ -233,8 +230,6 @@ Partial Class login_Change_PW VERAG_VARIABLES.seterrorcount(22) 'lbl_messagetext_M.ForeColor = Drawing.Color.Red 'lbl_messagetext_M.Text = VERAG_VARIABLES.geterrornumb() + "Error bei der Validierung des Kennwortes." - btn_toLogin_M.Visible = True - btn_toLogin.Visible = False End If Catch ex As Exception lbl_messagetext.Text = ex.Message @@ -421,12 +416,4 @@ Partial Class login_Change_PW End If End If End Sub - - Protected Sub btn_toLogin_Click(sender As Object, e As EventArgs) - Response.Redirect("login_FLEX.aspx") - End Sub - - Protected Sub btn_toLogin_M_Click(sender As Object, e As EventArgs) - Response.Redirect("login_FLEX.aspx") - End Sub End Class \ No newline at end of file