Update login.js

this is wrong!!!