summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/access_user.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-11-22 18:55:17 -0800
committerIvan Kohler <ivan@freeside.biz>2015-11-22 18:55:17 -0800
commit812bc7c3fab50cefca3cae5b9430350c5a65a077 (patch)
treed31dcec28ffe97ec58ded501b3f39105e54e432c /httemplate/edit/process/access_user.html
parentaa0003cb22bbf10b336856fc3b022bf2ad104b6a (diff)
parenta1a83e3aa44a09cf7c63d5e21b9937e6fa9b4a17 (diff)
Merge branch 'FREESIDE_4_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_4_BRANCH
Diffstat (limited to 'httemplate/edit/process/access_user.html')
-rw-r--r--httemplate/edit/process/access_user.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/edit/process/access_user.html b/httemplate/edit/process/access_user.html
index 0554bb940..bbe4268be 100644
--- a/httemplate/edit/process/access_user.html
+++ b/httemplate/edit/process/access_user.html
@@ -43,7 +43,8 @@ sub post_new_object_callback {
if ( length($cgi->param('_password')) ) {
my $password = scalar($cgi->param('_password'));
- $access_user->change_password_fields($password);
+ my $error = $access_user->is_password_allowed($password)
+ || $access_user->change_password($password);
}
}