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

8.0.x
webchick 2012-10-18 00:14:14 -07:00
parent a29f2d14a0
commit 0a93ca698f
1 changed files with 0 additions and 6 deletions

View File

@ -1578,12 +1578,6 @@ function user_set_authmaps($account, $authmaps) {
* @ingroup forms
*/
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:
$form['name'] = array('#type' => 'textfield',