This commit is contained in:
SJ 2015-09-16 10:14:05 +02:00
parent b83a0ed4dc
commit 53c563a208

View File

@ -36,6 +36,10 @@ class ControllerLoginLogin extends Controller {
$this->data['title'] = $this->data['text_login']; $this->data['title'] = $this->data['text_login'];
$this->data['title_prefix'] = TITLE_PREFIX; $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(); $this->data['failed_login_count'] = $this->model_user_auth->get_failed_login_count();