fix: fix email verify
Some checks failed
CI / Get Changed Files (pull_request) Successful in 7s
CI / eslint (pull_request) Successful in 37s
CI / prettier (pull_request) Failing after 41s
CI / oxlint (pull_request) Successful in 49s
CI / Docker frontend validation (pull_request) Successful in 1m49s
CI / Checkstyle Main (pull_request) Failing after 1m51s
CI / test-build (pull_request) Successful in 1m55s
CI / Docker backend validation (pull_request) Successful in 2m41s

This commit is contained in:
Constantin Simonis 2025-05-21 10:47:18 +02:00
commit d64b39fa69
No known key found for this signature in database
GPG key ID: 3878FF77C24AF4D2
3 changed files with 3 additions and 2 deletions

View file

@ -112,6 +112,7 @@ public class BlackJackService {
dealCardToPlayer(game);
dealCardToSplitHand(game);
return game;
}
private BlackJackGameEntity processGameBasedOnState(BlackJackGameEntity game) {

View file

@ -123,7 +123,7 @@
<p>Klicken Sie auf den folgenden Button, um Ihre E-Mail-Adresse zu bestätigen:</p>
<div style="text-align: center;">
<a href="${feUrl}/verify?token=${token}" class="button">E-Mail bestätigen</a>
<a href="${feUrl}/verify?email-token=${token}" class="button">E-Mail bestätigen</a>
</div>
<div class="info-box">

View file

@ -13,7 +13,7 @@ export class VerifyEmailComponent implements OnInit {
authService: AuthService = inject(AuthService);
ngOnInit(): void {
const token = this.route.snapshot.queryParamMap.get('token');
const token = this.route.snapshot.queryParamMap.get('email-token');
if (!token) {
this.router.navigate(['/']);