summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorMichael Klier <chi@chimeric.de>2008-10-12 16:42:53 +0200
committerMichael Klier <chi@chimeric.de>2008-10-12 16:42:53 +0200
commit17f89d7e697c716eb2ba57544d2b4d4394ce7ef4 (patch)
treef753af65393f093f9ddf1b479623c3dc05704d89 /inc/auth.php
parentb995f54398bf4484b10c9d8728b626caee604834 (diff)
downloadrpg-17f89d7e697c716eb2ba57544d2b4d4394ce7ef4.tar.gz
rpg-17f89d7e697c716eb2ba57544d2b4d4394ce7ef4.tar.bz2
FS#564 FS#1270 new option to disable the rememberme checkbox
darcs-hash:20081012144253-23886-c904f82c559c3ad5477bf921e93cb439a212134d.gz
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 1eef0db91..0d267cb27 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -59,6 +59,7 @@
if (!isset($_REQUEST['p'])) $_REQUEST['p'] = '';
if (!isset($_REQUEST['r'])) $_REQUEST['r'] = '';
$_REQUEST['http_credentials'] = false;
+ if (!$conf['rememberme']) $_REQUEST['r'] = false;
// if no credentials were given try to use HTTP auth (for SSO)
if(empty($_REQUEST['u']) && empty($_COOKIE[DOKU_COOKIE]) && !empty($_SERVER['PHP_AUTH_USER'])){