diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-05-06 19:09:10 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-05-06 19:09:10 -0700 |
commit | 832ae1aae9af2f15dc9b513c6505db25462ac511 (patch) | |
tree | ee81a77fbfa4214ac9ec2cee5be94628826ba6c9 | |
parent | 86637503b5608164cf31aea501f131c74e27b724 (diff) |
don't send when password is supplied, RT#34705
-rw-r--r-- | FS/FS/contact.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/contact.pm b/FS/FS/contact.pm index e004cf8eb..96632ff49 100644 --- a/FS/FS/contact.pm +++ b/FS/FS/contact.pm @@ -179,7 +179,7 @@ sub insert { } } - if ( $self->selfservice_access ) { + if ( $self->selfservice_access && ! length($self->_password) ) { my $error = $self->send_reset_email( queue=>1 ); if ( $error ) { $dbh->rollback if $oldAutoCommit; |