#152492 by JohnAlbin: clean up global user setting, which is done already

6.x
Gábor Hojtsy 2007-06-23 13:15:49 +00:00
parent 6082539532
commit 68e7598b87
1 changed files with 1 additions and 4 deletions

View File

@ -1101,10 +1101,7 @@ function user_login_name_validate($form, &$form_state) {
* @return void
**/
function user_login_authenticate_validate($form, &$form_state) {
global $user;
if ($account = user_authenticate($form_state['values']['name'], trim($form_state['values']['pass']))) {
$user = $account;
}
user_authenticate($form_state['values']['name'], trim($form_state['values']['pass']));
}
/**