Skip to content

Commit

Permalink
Merge pull request #2515 from Innovailable/master
Browse files Browse the repository at this point in the history
Hide login form on denied page if login is disabled
  • Loading branch information
splitbrain committed Oct 11, 2018
2 parents 97c35a1 + 0db7a50 commit 7ed1464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/html.php
Expand Up @@ -82,7 +82,7 @@ function html_login($svg = false){
function html_denied() {
print p_locale_xhtml('denied');

if(empty($_SERVER['REMOTE_USER'])){
if(empty($_SERVER['REMOTE_USER']) && actionOK('login')){
html_login();
}
}
Expand Down

0 comments on commit 7ed1464

Please sign in to comment.