Skip to content
Snippets Groups Projects
Commit 57ae38b4 authored by hahn's avatar hahn
Browse files

update denied output

parent e4f0fea2
Branches
No related tags found
1 merge request!195534 add docker
...@@ -201,9 +201,8 @@ class user { ...@@ -201,9 +201,8 @@ class user {
*/ */
public function showDenied(){ public function showDenied(){
return '<div class="alert alert-danger" role="alert">' return '<div class="alert alert-danger" role="alert">'
. ($this->_sUsername ? ' User: '.$this->_sUsername : '')
. ($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") : t("class-user-error-login-required")
) )
. '</div><br>' . '</div><br>'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment