Commit 0a93ca69 authored by webchick's avatar webchick

Issue #1168514 by mdm, Transition: Remove drupal_goto() from user_login().

parent a29f2d14
...@@ -1578,12 +1578,6 @@ function user_set_authmaps($account, $authmaps) { ...@@ -1578,12 +1578,6 @@ function user_set_authmaps($account, $authmaps) {
* @ingroup forms * @ingroup forms
*/ */
function user_login($form, &$form_state) { function user_login($form, &$form_state) {
global $user;
// If we are already logged on, go to the user page instead.
if ($user->uid) {
drupal_goto('user/' . $user->uid);
}
// Display login form: // Display login form:
$form['name'] = array('#type' => 'textfield', $form['name'] = array('#type' => 'textfield',
......
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