From ab76730ec2f89dbc98714eb2b5d6fb26e38745a1 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 19 Oct 2006 04:24:58 +0000 Subject: Fixed user creation bug git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@232 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/admin.pl | 5 ----- 1 file changed, 5 deletions(-) (limited to 'bin') 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!')); - } -- cgit v1.2.3