fix: remove user-specific greeting in registration email
Some checks are pending
Perl Tests / perl (5.20) (push) Waiting to run
Perl Tests / perl (latest) (push) Waiting to run
Perl Tests / perl (threaded) (push) Waiting to run

The registration email no longer includes the user's name. This change reduces the potential for abuse of the service by spammers.
This commit is contained in:
Kumi 2024-09-18 19:20:15 +02:00
parent fbc21f45c8
commit 3529833404
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -48,7 +48,7 @@ sub send_registration_mail {
my $reg_url = $self->url_for('reg')->to_abs->scheme('https'); my $reg_url = $self->url_for('reg')->to_abs->scheme('https');
my $imprint_url = $self->url_for('impressum')->to_abs->scheme('https'); my $imprint_url = $self->url_for('impressum')->to_abs->scheme('https');
my $body = "Hallo, ${user}!\n\n"; my $body = "Hallo!\n\n";
$body .= "Mit deiner E-Mail-Adresse (${email}) wurde ein Account bei\n"; $body .= "Mit deiner E-Mail-Adresse (${email}) wurde ein Account bei\n";
$body .= "travelynx angelegt.\n\n"; $body .= "travelynx angelegt.\n\n";
$body $body