From 3094e817f9f8c3971ffa00a852a1acee8bbcfd4c Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 6 Oct 2012 11:11:50 +0200 Subject: 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? --- inc/auth.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'inc/auth.php') 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 -- cgit v1.2.3