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