summaryrefslogtreecommitdiff
path: root/bin/admin.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/admin.pl')
-rwxr-xr-xbin/admin.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/admin.pl b/bin/admin.pl
index c182371b..8c464cd1 100755
--- a/bin/admin.pl
+++ b/bin/admin.pl
@@ -295,7 +295,6 @@ sub list_users {
<button type="submit" class="submit" name="action" value="change_admin_password">|.$locale->text('Change Admin Password').qq|</button>
$dbdrivers
- $nologin
<button type="submit" class="submit" name="action" value="logout">|.$locale->text('Logout').qq|</button>
</form>
@@ -736,7 +735,7 @@ sub save {
# add base directory to $form->{templates}
$form->{templates} = "${LedgerSMB::Sysconfig::templates}/$form->{templates}";
- $myconfig = LedgerSMB::User->new("${LedgerSMB::Sysconfig::memberfile}", "$form->{login}");
+ $myconfig = LedgerSMB::User->new("$form->{login}");
# redo acs variable and delete all the acs codes
@acs = split /;/, $form->{acs};