diff options
-rw-r--r-- | conf/dokuwiki.php | 2 | ||||
-rw-r--r-- | inc/auth.php | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php index cbd42115d..f5524de6b 100644 --- a/conf/dokuwiki.php +++ b/conf/dokuwiki.php @@ -54,7 +54,7 @@ $conf['hidepages'] = ''; //Regexp for pages to be skipped from /* Authentication Settings */ $conf['useacl'] = 0; //Use Access Control Lists to restrict access? $conf['autopasswd'] = 1; //autogenerate passwords and email them to user -$conf['authtype'] = 'plain'; //which authentication backend should be used +$conf['authtype'] = 'authplain'; //which authentication backend should be used $conf['passcrypt'] = 'smd5'; //Used crypt method (smd5,md5,sha1,ssha,crypt,mysql,my411) $conf['defaultgroup']= 'user'; //Default groups new Users are added to $conf['superuser'] = '!!not set!!'; //The admin can be user or @group or comma separated list user1,@group1,user2 diff --git a/inc/auth.php b/inc/auth.php index 25b9e4632..3fe465cbb 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -54,7 +54,10 @@ function auth_setup() { } } - if(!$auth) return false; + if(!$auth){ + msg($lang['authtempfail'], -1); + return false; + } if ($auth && $auth->success == false) { // degrade to unauthenticated user |