Änderungen

This commit is contained in:
ja
2021-10-04 16:59:28 +02:00
parent cb74af5d22
commit b86004fde4
7 changed files with 94 additions and 72 deletions

View File

@@ -38,16 +38,14 @@ Partial Class login_login_TEST
Login1.FailureText = "Account has not been activated."
Exit Select
Case Else
FormsAuthentication.RedirectFromLoginPage(User.Identity.Name, True)
Session.Add("test", Login1.UserName)
CustomerIDTextBox = Login1.FindControl("CustomerID")
Session.Add("CustomerID", CustomerIDTextBox.Text)
Session.Add("PW", Login1.Password)
FormsAuthentication.RedirectFromLoginPage(Login1.UserName, Login1.RememberMeSet)
'FormsAuthentication.SetAuthCookie(Login1.UserName, True)
'Response.Redirect("mypage.aspx")
'Response.Redirect("../Customers/CustomsAviso.aspx")
Exit Select
End Select
End If
@@ -57,8 +55,6 @@ Partial Class login_login_TEST
End Using
End Sub
Protected Sub LoginButton_Click(sender As Object, e As EventArgs)
End Sub