Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix JS for automatic signout redirect (#3491)
Browse files Browse the repository at this point in the history
* fix JS for automatic signout redirect to wait until iframe is done loading #3475

* revert back to the load event for redirect after signout
  • Loading branch information
brockallen committed Jul 30, 2019
1 parent 80d7a39 commit 13430dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IdentityServer4/host/wwwroot/js/signout-redirect.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(function () {
window.addEventListener("load", function () {
var a = document.querySelector("a.PostLogoutRedirectUri");
if (a) {
window.location = a.href;
Expand Down

0 comments on commit 13430dc

Please sign in to comment.