Code style fixed.
This commit is contained in:
parent
97838fbaad
commit
52ac087ec8
|
@ -43,7 +43,6 @@ class SessionController extends \PHPCI\Controller
|
||||||
$isLoginFailure = false;
|
$isLoginFailure = false;
|
||||||
|
|
||||||
if ($this->request->getMethod() == 'POST') {
|
if ($this->request->getMethod() == 'POST') {
|
||||||
|
|
||||||
$token = $this->getParam('token');
|
$token = $this->getParam('token');
|
||||||
if ($token === null || $token !== $_SESSION['login_token']) {
|
if ($token === null || $token !== $_SESSION['login_token']) {
|
||||||
$isLoginFailure = true;
|
$isLoginFailure = true;
|
||||||
|
|
Loading…
Reference in a new issue