Would be really nice to offer a super easy way to login for know users by just presentting the password field.
Insert the login form into the with the username/email field hidden and the same text showing as does now "Hello Username". The "not you?" text would go best under the password field.
Would require moving away from drupal_get_form('user_login_block') though.
Comments
Comment #1
doublejosh commentedWas able to do it like this...
Great outcome in my opinion.
Comment #2
doublejosh commentedWhops forgot to set the default value for the username field.
Still having trouble with...
#1) Passing the $known_user object to the alt_login_block function.
#2) Setting a hidden field for the username.