Merge pull request #10918 from saluce65/patch-2
Update logout.component.ts
This commit is contained in:
commit
1c9d7e4671
|
|
@ -54,7 +54,7 @@ export class LogoutComponent implements OnInit {
|
||||||
switch (result.status) {
|
switch (result.status) {
|
||||||
case AuthenticationResultStatus.Redirect:
|
case AuthenticationResultStatus.Redirect:
|
||||||
// We replace the location here so that in case the user hits the back
|
// 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);
|
window.location.replace(result.redirectUrl);
|
||||||
break;
|
break;
|
||||||
case AuthenticationResultStatus.Success:
|
case AuthenticationResultStatus.Success:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue