Intro to Authentication + Authorization
2:31
Displaying Users
4:20
Setting CurrentUser
5:43
Saving currentUser to localStorage
2:29
Basic Login Flow - Email and Password
9:29
Hide/Show Password
6:01
Login Form Validations
6:41
UserAuthForm Component
5:17
The User Registration Page
7:17
Navbar Cleanup
2:32
Mid-Course Review for Auth
7:46
Navigation Guards
5:36
Nested Routes with Vue Router
8:16
Token Authentication
11:24
Review
3:22
0% done with Authentication and Authorization in VueJS

Chapter 8 of 27 in Building VueScreencasts.com
Login Form Validations

Form Validations can give the user feedback, letting them know what they need to do in order to input their data correctly.

In this lesson, we use some validations we already have on the video edit form, abstracting them for use in our login form. Then we create a new emailFormat validation to ensure the user is inputting something resembling an email.

This lesson does rely on some code from our Validations series, but if you haven't watched it, that's okay; we explain what you need to know at the start.

What do others think of VueScreencasts?
"Woohoo... keep it up!"
—fazzy akamello
"Hi! Your videos are very useful, please go on make it!"
—Сергей Миртов
"Damn it's good content. I am happy that I found VueScreencasts."
—Shamim Hossain
"Really nice video with nice explanation. Subscribe"
—Igor Špánik
Take your career to the next level