From 53c563a20853c55260708f75ff9b41b89055f027 Mon Sep 17 00:00:00 2001 From: SJ Date: Wed, 16 Sep 2015 10:14:05 +0200 Subject: [PATCH] GA fix --- webui/controller/login/login.php | 4 ++++ 1 file changed, 4 insertions(+) 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();