diff --git a/public_html/deployment/classes/user.class.php b/public_html/deployment/classes/user.class.php index e8d0afe61eca50a16a37337cd9c0ec96ed1e5d3f..285834040774a04fd38d294710f4128400e4c4b3 100644 --- a/public_html/deployment/classes/user.class.php +++ b/public_html/deployment/classes/user.class.php @@ -201,7 +201,8 @@ class user { */ public function showDenied(){ return '<div class="alert alert-danger" role="alert">' - . ($this->_sUsername ? ' User: '.$this->_sUsername : '' + . ($this->_sUsername ? ' User: '.$this->_sUsername : '') + . ($this->_sUsername ? t("class-user-error-deny-no-role").'<br>('.$this->_sLastCheckedPermission.')' : t("class-user-error-login-required") )