[freeside-commits] branch FREESIDE_4_BRANCH updated. 2c57984234d1008988270e1ffe4bfdb79a21e14d
Ivan
ivan at 420.am
Sat Jun 13 15:19:33 PDT 2015
The branch, FREESIDE_4_BRANCH has been updated
via 2c57984234d1008988270e1ffe4bfdb79a21e14d (commit)
from eee05625882e16aedeed215dc860d3a9f815148d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2c57984234d1008988270e1ffe4bfdb79a21e14d
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Jun 13 15:19:10 2015 -0700
freeside-adduser encrypts passwords too, RT#21563
diff --git a/FS/bin/freeside-adduser b/FS/bin/freeside-adduser
index 2f4e22c..6b4becb 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;
-----------------------------------------------------------------------
Summary of changes:
FS/bin/freeside-adduser | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list