Revert "Änderungen back to Login Linkbutton eingebaut"

This reverts commit 00c5edffd6.
This commit is contained in:
ja
2021-11-18 14:54:25 +01:00
parent 44aaf4db89
commit a37fe565e9
2 changed files with 2 additions and 25 deletions

View File

@@ -307,11 +307,6 @@
<asp:Label ID="lbl_messagetext" runat="server" Text=""></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:LinkButton ID="btn_toLogin" ClientIDMode="AutoID" runat="server" style="color:#fff;background-color:#043381" OnClick="btn_toLogin_Click" CssClass="btn btn-primary"><center><label for="<%=btn_toLogin.ClientID %>" style="color:#fff">Back to Login</label></center></asp:LinkButton>
</td>
</tr>
</table>
</center>
</div>
@@ -391,11 +386,6 @@
<asp:Label ID="lbl_messagetext_M" runat="server" Text=""></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:LinkButton ID="btn_toLogin_M" style="color:#043381" Font-Size="1em" CssClass="btn btn-primary" runat="server" OnClick="btn_toLogin_M_Click"><center><label for="<%=btn_toLogin_M.ClientID %>" style="color:#fff">Back to Login</label></center></asp:LinkButton>
</td>
</tr>
</table>
</div>
</center>

View File

@@ -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