Merge commit 'refs/merge-requests/159' of git://gitorious.org/statusnet/mainline into merge-requests/159
This commit is contained in:
commit
d594c83a5a
|
@ -94,8 +94,7 @@ class LoginAction extends Action
|
|||
parent::handle($args);
|
||||
|
||||
if (common_is_real_login()) {
|
||||
// TRANS: Client error displayed when trying to log in while already logged in.
|
||||
$this->clientError(_('Already logged in.'));
|
||||
common_redirect(common_local_url('index'));
|
||||
} else if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||
$this->checkLogin();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user