issues
search
silverbux
/
laravel-angular-admin
Laravel + Angularjs + Bootstrap + AdminLTE binded by Gulp workflow Admin Dashboard Boilerplate / Starter.
http://silverbux.github.io/laravel-angular-admin/
MIT License
924
stars
414
forks
source link
Login form validation
#32
Closed
ghost
closed
8 years ago
ghost
commented
8 years ago
Added ng-required to both
email
and
password
fields
Validate
email
field against pattern
/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/
Disabling the login button if the form is invalid. No need to post to server if the user did not entered its data.
Moved around
I forgot my password
and changed it to
Forgot your password?
Same for
Register a new membership
and changed it to
Create an account
Changed form "title" to an h3 to stay in line with the other forms like forgot password
silverbux
commented
8 years ago
awesome thanks!
email
andpassword
fieldsemail
field against pattern/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/