summaryrefslogtreecommitdiff
path: root/admin.pl
diff options
context:
space:
mode:
Diffstat (limited to 'admin.pl')
-rwxr-xr-xadmin.pl14
1 files changed, 7 insertions, 7 deletions
diff --git a/admin.pl b/admin.pl
index 285b7f1a..b8551e04 100755
--- a/admin.pl
+++ b/admin.pl
@@ -75,13 +75,13 @@ $0 =~ tr/\\/\//;
$pos = rindex $0, '/';
$script = substr($0, $pos + 1);
-
-if (-e "${LedgerSMB::Sysconfig::userspath}/nologin" && $script ne 'admin.pl') {
- print "Content-Type: text/html\n\n<html><body><strong>";
- print "\nLogin disabled!\n";
- print "\n</strong></body></html>";
- exit;
-}
+#this needs to be a db based function
+#if (-e "${LedgerSMB::Sysconfig::userspath}/nologin" && $script ne 'admin.pl') {
+# print "Content-Type: text/html\n\n<html><body><strong>";
+# print "\nLogin disabled!\n";
+# print "\n</strong></body></html>";
+# exit;
+#}
if ($form{path}) {