[freeside-commits] branch master updated. 75f57b8c71dbb3b48ebf9ccdc9f33866613452f3
Ivan
ivan at 420.am
Sat Jun 13 15:19:24 PDT 2015
The branch, master has been updated
via 75f57b8c71dbb3b48ebf9ccdc9f33866613452f3 (commit)
from 74d59a7146046e54da2b37435cca8937b66093cd (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 75f57b8c71dbb3b48ebf9ccdc9f33866613452f3
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Jun 13 15:19:18 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