This commit is contained in:
William 2022-02-27 09:19:12 +01:00
parent 86f8e8084b
commit c95ed40dec

View File

@ -31,6 +31,7 @@ class User
// Check if username and password match // Check if username and password match
if (!$this->authenticate($user['username'], $user['password'])) if (!$this->authenticate($user['username'], $user['password']))
{ {
$this->loggedIn = FALSE;
$this->logout(); $this->logout();
$this->session->flash('Kontodetaljer er blitt endret, vennligst logg inn igjen', 'warning'); $this->session->flash('Kontodetaljer er blitt endret, vennligst logg inn igjen', 'warning');
return; return;