summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/html.php4
-rw-r--r--inc/lang/en/lang.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 507ba511e..514f961e7 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 b95a8a58a..fccb470e3 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.';