diff --git a/webui/controller/login/login.php b/webui/controller/login/login.php index c9aafc2f..b4142a45 100644 --- a/webui/controller/login/login.php +++ b/webui/controller/login/login.php @@ -36,6 +36,10 @@ class ControllerLoginLogin extends Controller { $this->data['title'] = $this->data['text_login']; $this->data['title_prefix'] = TITLE_PREFIX; + if(strstr($_SERVER['REQUEST_URI'], "logout.php")) { + logout(); + } + $this->data['failed_login_count'] = $this->model_user_auth->get_failed_login_count();