Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
user system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2008 at 14:28 UTC
Updated:
20 Feb 2010 at 11:20 UTC
This is weird and unexpected behaviour. According to Heine this is because of external authentication.
I believe that on _validate the validity of the auth info should be checked but no login happen.
Only on _submit a login should happen.
Affects all Version.
Comments
Comment #2
mr.baileysHmmm, as far as I can see, user_login_submit() does the actual logging in, and the validation handlers (user_login_name_validate, user_login_authenticate_validate and user_login_final_validate) just validate.
Can this be closed or am I missing anything?
Comment #3
gerhard killesreiter commentedI think this was addressed: user_login_authenticate_validate still calls user_authenticate but that function now doesn't do the login anymore. user_login_finalize does this now and it is called during the submit stage.