summaryrefslogtreecommitdiff
path: root/FS/FS/Auth
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-01-09 15:43:42 -0800
committerIvan Kohler <ivan@freeside.biz>2018-01-09 15:43:42 -0800
commit12a92604de8428e1d3b1be20e2bda2bd31bd5aeb (patch)
tree7b4d9231008b52b58f021e6d39c58f5e38fcfca6 /FS/FS/Auth
parent3848ca2c96115f150965b6cd20d41c3b64ffb2ac (diff)
fix employee pw change, RT#79010, RT#32456
Diffstat (limited to 'FS/FS/Auth')
-rw-r--r--FS/FS/Auth/internal.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/Auth/internal.pm b/FS/FS/Auth/internal.pm
index eea4870..dfc5f30 100644
--- a/FS/FS/Auth/internal.pm
+++ b/FS/FS/Auth/internal.pm
@@ -48,7 +48,9 @@ sub change_password {
my($self, $access_user, $new_password) = @_;
# do nothing if the password is unchanged
- return if $self->authenticate( $access_user, $new_password );
+ #XXX breaks password changes in employee edit ($access_user object already
+ # has new [plaintext] password)
+ #return if $self->authenticate( $access_user, $new_password );
$self->change_password_fields( $access_user, $new_password );