summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-06-16 21:57:42 +0200
committerAndreas Gohr <andi@splitbrain.org>2013-06-16 21:58:08 +0200
commitea2272c40a77ba38305773f8f3e3172bb71e9f49 (patch)
tree103f94c9736f89a0680a4c7fc716d355a9741f2b /inc
parentc594dd1e99b18f3c73464d7fc17f1759300cffeb (diff)
downloadrpg-ea2272c40a77ba38305773f8f3e3172bb71e9f49.tar.gz
rpg-ea2272c40a77ba38305773f8f3e3172bb71e9f49.tar.bz2
removed tabs
Diffstat (limited to 'inc')
-rw-r--r--inc/auth.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 6107645cd..47b29eff7 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -59,18 +59,18 @@ function auth_setup() {
}
}
- if(!isset($auth) || !$auth){
+ if(!isset($auth) || !$auth){
msg($lang['authtempfail'], -1);
return false;
}
if ($auth->success == false) {
- // degrade to unauthenticated user
- unset($auth);
- auth_logoff();
- msg($lang['authtempfail'], -1);
+ // degrade to unauthenticated user
+ unset($auth);
+ auth_logoff();
+ msg($lang['authtempfail'], -1);
return false;
- }
+ }
// do the login either by cookie or provided credentials XXX
$INPUT->set('http_credentials', false);