Commit 78855c2e authored by Dries's avatar Dries
Browse files

- Patch #695662 by litwol: fixed user_login_submit() documentation by adjusting the code.

parent 0fa98a7a
......@@ -1977,9 +1977,9 @@ function user_login_finalize(&$edit = array()) {
function user_login_submit($form, &$form_state) {
global $user;
$user = user_load($form_state['uid']);
user_login_finalize();
$form_state['redirect'] = 'user/' . $user->uid;
user_login_finalize($form_state);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment