Änderungen Css und login logiken

This commit is contained in:
ja
2021-10-19 16:28:05 +02:00
parent 33776acc74
commit e4a82f6bb4
5 changed files with 67 additions and 65 deletions

View File

@@ -124,6 +124,7 @@ Partial Class login_FLEX
Protected Sub LoginButton_Click(sender As Object, e As EventArgs)
Validate("Login")
If Page.IsValid() Then
MsgBox("Wow1")
Dim cb As CheckBox = Page.FindControl("RememberMe")
If cb.Checked = True Then
FormsAuthentication.SetAuthCookie(Login1.UserName, True)
@@ -132,12 +133,14 @@ Partial Class login_FLEX
End If
Response.Redirect("../Customers/CustomsAviso.aspx")
Else
MsgBox("Error1")
Response.Redirect("login_FLEX.aspx")
End If
End Sub
Protected Sub LoginButton_M_Click(sender As Object, e As EventArgs)
Validate("Login_M")
If Page.IsValid() Then
MsgBox("Wow2")
Dim cb As CheckBox = Page.FindControl("RememberMe_M")
If cb.Checked = True Then
FormsAuthentication.SetAuthCookie(Login1.UserName, True)
@@ -146,6 +149,7 @@ Partial Class login_FLEX
End If
Response.Redirect("../Customers/CustomsAviso.aspx")
Else
MsgBox("Error2")
Response.Redirect("login_FLEX.aspx")
End If
End Sub