diff options
author | Ivan Kohler <ivan@freeside.biz> | 2018-01-09 15:43:42 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2018-08-26 10:42:33 -0700 |
commit | f95fe844753a411328394dad031279df5bb1a143 (patch) | |
tree | ba7741b2dc982c3b999139711e59c8662d8757d3 | |
parent | cee66872f5c67825cae5a0f86da3fb0657c4ebae (diff) |
fix employee pw change, RT#79010, RT#32456
-rw-r--r-- | FS/FS/Auth/internal.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/Auth/internal.pm b/FS/FS/Auth/internal.pm index eea4870d7..dfc5f301d 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 ); |