Fixed the UPDATE command in validate() in customer.php.
Fixed validate-on-login.