fix employee pw change, RT#79010, RT#32456
authorIvan Kohler <ivan@freeside.biz>
Tue, 9 Jan 2018 23:43:42 +0000 (15:43 -0800)
committerIvan Kohler <ivan@freeside.biz>
Sun, 26 Aug 2018 17:42:33 +0000 (10:42 -0700)
FS/FS/Auth/internal.pm

index eea4870..dfc5f30 100644 (file)
@@ -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 );