summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/contact.pm2
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;