From c95ed40dec0bd9eb567b5842a04b4b4161c82944 Mon Sep 17 00:00:00 2001 From: William Date: Sun, 27 Feb 2022 09:19:12 +0100 Subject: [PATCH] Commit --- app/core/User.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/core/User.php b/app/core/User.php index cdabde0..774e4c4 100644 --- a/app/core/User.php +++ b/app/core/User.php @@ -31,6 +31,7 @@ class User // Check if username and password match if (!$this->authenticate($user['username'], $user['password'])) { + $this->loggedIn = FALSE; $this->logout(); $this->session->flash('Kontodetaljer er blitt endret, vennligst logg inn igjen', 'warning'); return;