summaryrefslogtreecommitdiff
path: root/bin/admin.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-19 04:24:58 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-19 04:24:58 +0000
commitab76730ec2f89dbc98714eb2b5d6fb26e38745a1 (patch)
tree00baed92cfb16f90d4e0fb89412cb84d44234b43 /bin/admin.pl
parent125dbf0e961577daa93090dbfbc6777466662c6a (diff)
Fixed user creation bug
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@232 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/admin.pl')
-rwxr-xr-xbin/admin.pl5
1 files changed, 0 insertions, 5 deletions
diff --git a/bin/admin.pl b/bin/admin.pl
index cd68191c..359defa7 100755
--- a/bin/admin.pl
+++ b/bin/admin.pl
@@ -793,11 +793,9 @@ sub save {
$myconfig = new User "$memberfile", "$form->{login}";
- $form->db_init(%myconfig);
# redo acs variable and delete all the acs codes
@acs = split /;/, $form->{acs};
-
$form->{acs} = "";
foreach $item (@acs) {
@@ -818,7 +816,6 @@ sub save {
$form->{dbpasswd} = $form->{"$form->{dbdriver}_dbpasswd"};
$form->{dbuser} = $form->{"$form->{dbdriver}_dbuser"};
$form->{dbname} = $form->{"$form->{dbdriver}_dbname"};
-
$form->isblank("dbname", $locale->text('Dataset missing!'));
$form->isblank("dbuser", $locale->text('Database User missing!'));
@@ -839,7 +836,6 @@ sub save {
$myconfig->{packpw} = 1;
$myconfig->save_member($memberfile, $userspath);
-
# create user template directory and copy master files
if (! -d "$form->{templates}") {
@@ -875,7 +871,6 @@ sub save {
}
$form->redirect($locale->text('User saved!'));
-
}