Update logout.component.ts
Commit migrated from dotnet/aspnetcore@7f204a0bad
This commit is contained in:
Родитель
b0d9a65cd4
Коммит
21954c7480
|
@ -54,7 +54,7 @@ export class LogoutComponent implements OnInit {
|
|||
switch (result.status) {
|
||||
case AuthenticationResultStatus.Redirect:
|
||||
// We replace the location here so that in case the user hits the back
|
||||
// arrow from within the IdP he doesn't get into an infinite redirect loop.
|
||||
// arrow from within the IdP they don't get into an infinite redirect loop.
|
||||
window.location.replace(result.redirectUrl);
|
||||
break;
|
||||
case AuthenticationResultStatus.Success:
|
||||
|
|
Загрузка…
Ссылка в новой задаче