Logout functionality
This commit is contained in:
@@ -18,10 +18,6 @@ class Logout extends Request {
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->lastError = "CUSTOM ERROR MESSAGE";
|
||||
$this->success = false;
|
||||
return false;
|
||||
|
||||
$this->success = $this->user->logout();
|
||||
$this->lastError = $this->user->getSQL()->getLastError();
|
||||
return $this->success;
|
||||
|
||||
Reference in New Issue
Block a user