We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 91b2d00 + 8f20ab9 commit 3bdc5c6Copy full SHA for 3bdc5c6
1 file changed
src/app/core/services/auth.service.ts
@@ -85,7 +85,7 @@ export class AuthService {
85
86
if (isPlatformBrowser(this.platformId)) {
87
this.cookieService.deleteAll();
88
- window.location.href = `${this.webUrl}/logout/?next=${encodeURIComponent(nextUrl || window.location.origin)}`;
+ window.location.href = `${this.webUrl}/logout/?next=${encodeURIComponent(nextUrl || `${window.location.origin}/`)}`;
89
}
90
91
0 commit comments