defendtheweb / hackthis.co.uk

HackThis!!
http://www.hackthis.co.uk
Other
46 stars 55 forks source link

Autofocus on username only for returning users #117 #118

Closed doronlinder closed 10 years ago

lwward commented 10 years ago

Nice solution, however there is already a cookie that tracks if a user has logged in previously, see https://github.com/HackThis/hackthis.co.uk/blob/master/files/class.user.php#L440

doronlinder commented 10 years ago

Fixed it to use the cookie.