mirror of
https://github.com/friendica/friendica
synced 2025-04-28 15:04:26 +02:00
Useless info messages removed
This commit is contained in:
parent
0b423b73ac
commit
3fc3ded750
39 changed files with 47 additions and 90 deletions
|
@ -270,7 +270,7 @@ class Authentication
|
|||
}
|
||||
} catch (Exception $e) {
|
||||
$this->logger->warning('authenticate: failed login attempt', ['action' => 'login', 'username' => Strings::escapeTags($username), 'ip' => $_SERVER['REMOTE_ADDR']]);
|
||||
info($this->l10n->t('Login failed. Please check your credentials.' . EOL));
|
||||
notice($this->l10n->t('Login failed. Please check your credentials.' . EOL));
|
||||
$this->baseUrl->redirect();
|
||||
}
|
||||
|
||||
|
@ -389,8 +389,6 @@ class Authentication
|
|||
info($this->l10n->t('Welcome %s', $user_record['username']));
|
||||
info($this->l10n->t('Please upload a profile photo.'));
|
||||
$this->baseUrl->redirect('settings/profile/photo/new');
|
||||
} else {
|
||||
info($this->l10n->t("Welcome back %s", $user_record['username']));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -237,7 +237,7 @@ class Module
|
|||
public function run(Core\L10n $l10n, App\BaseURL $baseUrl, LoggerInterface $logger, array $server, array $post)
|
||||
{
|
||||
if ($this->printNotAllowedAddon) {
|
||||
info($l10n->t("You must be logged in to use addons. "));
|
||||
notice($l10n->t("You must be logged in to use addons. "));
|
||||
}
|
||||
|
||||
/* The URL provided does not resolve to a valid module.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue