Änderungen Css und login logiken
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user