Merge pull request 'fix: update logout navigation to use navigateByUrl for cleaner routing' (#5) from task/popup-for-dynamic-form into develop
Reviewed-on: #5
This commit is contained in:
commit
2bed3b6438
@ -111,7 +111,7 @@ export class AuthService {
|
||||
this.http.post<void>(this.api('/api/v1/auth/logout'), {}).subscribe();
|
||||
this.accessToken = null;
|
||||
this.safeRemoveToken();
|
||||
this.router.navigate(['/admin/login']);
|
||||
this.router.navigateByUrl('login');
|
||||
}
|
||||
|
||||
refreshToken(): Observable<RefreshTokenResponse> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user