From 8f20ab9f4b9e284f383f44adab97c02a460e7854 Mon Sep 17 00:00:00 2001 From: Ostap Zherebetskyi Date: Wed, 22 Apr 2026 14:48:41 +0300 Subject: [PATCH] fix(auth): update logout redirect url to ensure proper navigation --- src/app/core/services/auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/services/auth.service.ts b/src/app/core/services/auth.service.ts index 1ab17443d..09f73bbb8 100644 --- a/src/app/core/services/auth.service.ts +++ b/src/app/core/services/auth.service.ts @@ -85,7 +85,7 @@ export class AuthService { if (isPlatformBrowser(this.platformId)) { this.cookieService.deleteAll(); - window.location.href = `${this.webUrl}/logout/?next=${encodeURIComponent(nextUrl || window.location.origin)}`; + window.location.href = `${this.webUrl}/logout/?next=${encodeURIComponent(nextUrl || `${window.location.origin}/`)}`; } }