diff options
author | Michael Klier <chi@chimeric.de> | 2008-10-12 16:42:53 +0200 |
---|---|---|
committer | Michael Klier <chi@chimeric.de> | 2008-10-12 16:42:53 +0200 |
commit | 17f89d7e697c716eb2ba57544d2b4d4394ce7ef4 (patch) | |
tree | f753af65393f093f9ddf1b479623c3dc05704d89 /inc/auth.php | |
parent | b995f54398bf4484b10c9d8728b626caee604834 (diff) | |
download | rpg-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.php | 1 |
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'])){ |