[freeside-commits] branch master updated. 1daa37e733b9e972e5328503374130a423d02836
Mark Wells
mark at 420.am
Wed Nov 18 00:12:53 PST 2015
The branch, master has been updated
via 1daa37e733b9e972e5328503374130a423d02836 (commit)
via 55d10bb32d65dfe4850cd5eaec2cc8c2ead17171 (commit)
from 46762f49fe399c99d2a42a9f7974ca059852fc75 (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 1daa37e733b9e972e5328503374130a423d02836
Merge: 55d10bb 46762f4
Author: Mark Wells <mark at freeside.biz>
Date: Wed Nov 18 00:09:29 2015 -0800
Merge branch 'master' of git.freeside.biz:/home/git/freeside
commit 55d10bb32d65dfe4850cd5eaec2cc8c2ead17171
Author: Mark Wells <mark at freeside.biz>
Date: Tue Nov 17 22:14:57 2015 -0800
fix setting passwords on newly created svc_accts, from #29354
diff --git a/httemplate/edit/process/svc_acct.cgi b/httemplate/edit/process/svc_acct.cgi
index d75ff92..17a035c 100755
--- a/httemplate/edit/process/svc_acct.cgi
+++ b/httemplate/edit/process/svc_acct.cgi
@@ -82,7 +82,7 @@ if ( $cgi->param('clear_password') eq '*HIDDEN*'
die "fatal: no previous account to recall hidden password from!" unless $old;
} else {
my $newpass = $cgi->param('clear_password');
- if ( ! $old->check_password($newpass) ) {
+ if ( !$old or ! $old->check_password($newpass) ) {
# then the password is being changed
$error ||= $new->is_password_allowed($newpass)
|| $new->set_password($newpass);
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/process/svc_acct.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list