feat(auth): add oauth2 using github (CAS-64) #208
3 changed files with 3 additions and 2 deletions
|
@ -112,6 +112,7 @@ public class BlackJackService {
|
|||
dealCardToPlayer(game);
|
||||
dealCardToSplitHand(game);
|
||||
|
||||
return 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>
|
||||
|
||||
<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">
|
||||
|
|
|
@ -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(['/']);
|
||||
|
|
Reference in a new issue