summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/login.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/login.pl b/bin/login.pl
index 90de3d48..d807ed26 100755
--- a/bin/login.pl
+++ b/bin/login.pl
@@ -265,6 +265,9 @@ sub login {
#}
+ if (!${LedgerSMB::Sysconfig::GLOBALDBH}){
+ $locale->text("No GlobalDBH Configured or Could not Connect");
+ }
$user = LedgerSMB::User->new($form->{login});
# if we get an error back, bale out