Fixed small validation bug in login.js