From: Ivan Kohler Date: Thu, 7 May 2015 02:09:10 +0000 (-0700) Subject: don't send when password is supplied, RT#34705 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=832ae1aae9af2f15dc9b513c6505db25462ac511 don't send when password is supplied, RT#34705 --- 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;