summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-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