From 3529833404113e93fee90e158dc39fc5455e5f34 Mon Sep 17 00:00:00 2001 From: Kumi Date: Wed, 18 Sep 2024 19:20:15 +0200 Subject: [PATCH] fix: remove user-specific greeting in registration email The registration email no longer includes the user's name. This change reduces the potential for abuse of the service by spammers. --- lib/Travelynx/Controller/Account.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Travelynx/Controller/Account.pm b/lib/Travelynx/Controller/Account.pm index 453664c..b96bde9 100644 --- a/lib/Travelynx/Controller/Account.pm +++ b/lib/Travelynx/Controller/Account.pm @@ -48,7 +48,7 @@ sub send_registration_mail { my $reg_url = $self->url_for('reg')->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 .= "travelynx angelegt.\n\n"; $body