From 57ae38b4e8adc39efbbeeaf71b076780cc62caa2 Mon Sep 17 00:00:00 2001 From: hahn <axel.hahn@iml.unibe.ch> Date: Fri, 22 Jul 2022 14:26:07 +0200 Subject: [PATCH] update denied output --- public_html/deployment/classes/user.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public_html/deployment/classes/user.class.php b/public_html/deployment/classes/user.class.php index d1959659..a3517828 100644 --- a/public_html/deployment/classes/user.class.php +++ b/public_html/deployment/classes/user.class.php @@ -201,9 +201,8 @@ class user { */ public function showDenied(){ return '<div class="alert alert-danger" role="alert">' - . ($this->_sUsername ? ' User: '.$this->_sUsername : '') . ($this->_sUsername - ? t("class-user-error-deny-no-role").'<br>('.$this->_sLastCheckedPermission.')' + ? t("class-user-error-deny-no-role").'<br>'.$this->_sUsername.' --> ('.$this->_sLastCheckedPermission.')<br>' : t("class-user-error-login-required") ) . '</div><br>' -- GitLab