Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
78855c2e
Commit
78855c2e
authored
Jan 27, 2010
by
Dries Buytaert
Browse files
- Patch
#695662
by litwol: fixed user_login_submit() documentation by adjusting the code.
parent
0fa98a7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/user/user.module
View file @
78855c2e
...
...
@@ -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);
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment