summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-10-06 11:11:50 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-10-06 11:11:50 +0200
commit3094e817f9f8c3971ffa00a852a1acee8bbcfd4c (patch)
treec72c87e7cce7cd7e2448dbc95e08b220d254b6e3 /inc/auth.php
parentd48e3de576477fd446f8e613d229deba484014bc (diff)
downloadrpg-3094e817f9f8c3971ffa00a852a1acee8bbcfd4c.tar.gz
rpg-3094e817f9f8c3971ffa00a852a1acee8bbcfd4c.tar.bz2
changed default auth to authplain
We need to decide how to handle the renaming of the auth classes. Should this be done automatically somehow? Or is an admin expected to fix this manually when updating?
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php5
1 files changed, 4 insertions, 1 deletions
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