зеркало из https://github.com/mozilla/pjs.git
Remove the annoying 'tried to log in but was already logged in' warning that would be hit each time someone clicked a link to, or used a bookmark to, a login page.
This commit is contained in:
Родитель
41e0fc2f0f
Коммит
d58312c949
|
@ -115,7 +115,6 @@ sub cmdLogin {
|
|||
my($app) = @_;
|
||||
my $user = $app->getObject('user');
|
||||
if (defined($user)) {
|
||||
$self->warn(4, 'tried to log in but was already logged in');
|
||||
$app->noCommand();
|
||||
} else {
|
||||
$self->requireLogin($app);
|
||||
|
|
Загрузка…
Ссылка в новой задаче