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
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:
parent
74798949c6
commit
d64b39fa69
3 changed files with 3 additions and 2 deletions
|
@ -112,6 +112,7 @@ public class BlackJackService {
|
||||||
dealCardToPlayer(game);
|
dealCardToPlayer(game);
|
||||||
dealCardToSplitHand(game);
|
dealCardToSplitHand(game);
|
||||||
|
|
||||||
|
return game;
|
||||||
}
|
}
|
||||||
|
|
||||||
private BlackJackGameEntity processGameBasedOnState(BlackJackGameEntity game) {
|
private BlackJackGameEntity processGameBasedOnState(BlackJackGameEntity game) {
|
||||||
|
|
|
@ -123,7 +123,7 @@
|
||||||
<p>Klicken Sie auf den folgenden Button, um Ihre E-Mail-Adresse zu bestätigen:</p>
|
<p>Klicken Sie auf den folgenden Button, um Ihre E-Mail-Adresse zu bestätigen:</p>
|
||||||
|
|
||||||
<div style="text-align: center;">
|
<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>
|
||||||
|
|
||||||
<div class="info-box">
|
<div class="info-box">
|
||||||
|
|
|
@ -13,7 +13,7 @@ export class VerifyEmailComponent implements OnInit {
|
||||||
authService: AuthService = inject(AuthService);
|
authService: AuthService = inject(AuthService);
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
const token = this.route.snapshot.queryParamMap.get('token');
|
const token = this.route.snapshot.queryParamMap.get('email-token');
|
||||||
|
|
||||||
if (!token) {
|
if (!token) {
|
||||||
this.router.navigate(['/']);
|
this.router.navigate(['/']);
|
||||||
|
|
Reference in a new issue