diff --git a/inc/html.php b/inc/html.php index 507ba511e49d51ba0910083c83620954ad79060e..514f961e7d8ca9b58a771e89a065d5235ca57661 100644 --- a/inc/html.php +++ b/inc/html.php @@ -81,6 +81,10 @@ function html_denied() { $denied ); print $denied; + + if(!$_SERVER['REMOTE_USER']){ + html_login(); + } } /** diff --git a/inc/lang/en/lang.php b/inc/lang/en/lang.php index b95a8a58ae1aa46a931bc4fa684dd56a60a5351b..fccb470e3f456dac42264f914289457221095e5a 100644 --- a/inc/lang/en/lang.php +++ b/inc/lang/en/lang.php @@ -78,7 +78,7 @@ $lang['regbadmail'] = 'The given email address looks invalid - if you $lang['regbadpass'] = 'The two given passwords are not identical, please try again.'; $lang['regpwmail'] = 'Your DokuWiki password'; $lang['reghere'] = 'You don\'t have an account yet? Just get one'; -$lang['notloggedin'] = 'Please be aware you are not logged in.'; +$lang['notloggedin'] = 'Perhaps you forgot to login?'; $lang['profna'] = 'This wiki does not support profile modification'; $lang['profnochange'] = 'No changes, nothing to do.';