diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-10-08 14:18:51 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-10-08 14:30:18 +0200 |
commit | 810068dcf811b17805ee9958b877a827bf8125ed (patch) | |
tree | 9b64b9db3b0ced08580445f7fbccedbf155ac674 /src | |
parent | ae0816ce8de46c38cd6f4b6d95abb17a6703d280 (diff) |
Fixes: AuthController session error merging and StatsTest
Diffstat (limited to 'src')
-rw-r--r-- | src/Controllers/AuthController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Controllers/AuthController.php b/src/Controllers/AuthController.php index c69c2377..7892064b 100644 --- a/src/Controllers/AuthController.php +++ b/src/Controllers/AuthController.php @@ -88,7 +88,7 @@ class AuthController extends BaseController $user = $this->auth->authenticate($data['login'], $data['password']); if (!$user instanceof User) { - $this->session->set('errors', $this->session->get('errors', []) + ['auth.not-found']); + $this->session->set('errors', array_merge($this->session->get('errors', []), ['auth.not-found'])); return $this->showLogin(); } |