From 804790dfc031b301b3675068027590436a1545e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20HUSS?= <theophile.huss@etu.unistra.fr> Date: Fri, 6 Dec 2024 15:09:16 +0100 Subject: [PATCH] fix: Reload page profile when the user is connected --- src/app/modules/profile/sign/sign.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/modules/profile/sign/sign.component.ts b/src/app/modules/profile/sign/sign.component.ts index 4cc90eb..6673b75 100644 --- a/src/app/modules/profile/sign/sign.component.ts +++ b/src/app/modules/profile/sign/sign.component.ts @@ -90,6 +90,7 @@ export class SignComponent implements OnInit { next: (data: any) => { if (data['success']) { this.router.navigate(['/profile']); + window.location.reload(); } }, }); -- GitLab