Skip to content

Commit

Permalink
#934038 by moshe weitzman. Show the uid that was logged in during --d…
Browse files Browse the repository at this point in the history
…ebug logs
  • Loading branch information
massgov-outsider committed Nov 8, 2010
1 parent c2f95de commit 0aa6638
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drush.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ function drush_drupal_login($drush_user) {
}
return drush_set_error('DRUPAL_USER_LOGIN_FAILED', $message);
}
else {
$name = $user->name ? $user->name : variable_get('anonymous', t('Anonymous'));
drush_log(dt('Successfully logged into Drupal as !name', array('!name' => $name . " (uid=$user->uid)")), 'bootstrap');
}

return TRUE;
}

0 comments on commit 0aa6638

Please sign in to comment.