Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.
Protected Sub LogIn(sender As Object, e As EventArgs) If IsValid Then ' Validate the user password Dim manager = New UserManager() Dim user As ApplicationUser = manager.Find(UserName.Text, Password.Text) If user IsNot Nothing Then IdentityHelper.SignIn(manager, user, RememberMe.Checked) IdentityHelper.RedirectToReturnUrl(Request.QueryString("ReturnUrl"), Response) End If Else FailureText.Text = "Invalid username or password." ErrorMessage.Visible = True End If End If End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.