Commit
This commit is contained in:
parent
86f8e8084b
commit
c95ed40dec
@ -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;
|
||||||
|
Reference in New Issue
Block a user