diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-06-13 15:19:18 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-06-13 15:19:18 -0700 |
commit | 75f57b8c71dbb3b48ebf9ccdc9f33866613452f3 (patch) | |
tree | af883f30c5465d608e934a886aea99e689371d6e /FS | |
parent | 74d59a7146046e54da2b37435cca8937b66093cd (diff) |
freeside-adduser encrypts passwords too, RT#21563
Diffstat (limited to 'FS')
-rw-r--r-- | FS/bin/freeside-adduser | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-adduser b/FS/bin/freeside-adduser index 2f4e22cbf..6b4becb5f 100644 --- a/FS/bin/freeside-adduser +++ b/FS/bin/freeside-adduser @@ -22,10 +22,10 @@ adminsuidsetup $user; my $access_user = new FS::access_user { 'username' => $user, - '_password' => $password, 'first' => 'Firstname', # $opt_f || 'last' => 'Lastname', # $opt_l || }; +$access_user->change_password_fields($password) if length($password); my $au_error = $access_user->insert; die $au_error if $au_error; |