We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3707fa commit a4a50c2Copy full SHA for a4a50c2
1 file changed
src/app/core/services/auth.service.ts
@@ -79,7 +79,7 @@ export class AuthService {
79
80
if (isPlatformBrowser(this.platformId)) {
81
this.cookieService.deleteAll();
82
- window.location.href = `${this.webUrl}/logout/?next=${encodeURIComponent('/')}`;
+ window.location.href = `${this.webUrl}/logout/?next=${encodeURIComponent(window.location.href)}`;
83
}
84
85
0 commit comments