Update login.php

fixed issue #1108