diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2015-11-13 13:06:00 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2015-11-13 13:06:00 -0800 |
| commit | 2d3ab45cd0b35cb929198e2ad36a1ec9a3b4d93d (patch) | |
| tree | 97bc37e32960f89b299f4b7efa49694e06e95243 /httemplate/misc | |
| parent | 156ce177ef4fb53cfcf688b6127a3c4cff9fb83d (diff) | |
| parent | fb5becb1a877994b897e737e983fae2c8da6a5ac (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc')
| -rw-r--r-- | httemplate/misc/process/change-password.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/misc/process/change-password.html b/httemplate/misc/process/change-password.html index 7cab9c4e3..d58ce544d 100644 --- a/httemplate/misc/process/change-password.html +++ b/httemplate/misc/process/change-password.html @@ -11,7 +11,9 @@ die "access denied" unless ( ( $curuser->access_right('Edit password') and ! $part_svc->restrict_edit_password ) ); -my $error = $svc_acct->set_password($cgi->param('password')) +my $newpass = $cgi->param('password'); +my $error = $svc_acct->is_password_allowed($newpass) + || $svc_acct->set_password($newpass) || $svc_acct->replace; # annoyingly specific to view/svc_acct.cgi, for now... |
