Skip to content

Commit

Permalink
fix: fix misleading comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Nov 16, 2022
1 parent cae4de7 commit aed876e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oauth2/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (h *Handler) performOidcFrontOrBackChannelLogout(w http.ResponseWriter, r *
// In case replace failed try href
setAndRegisterTimeout(function () {
window.location.href = redir;
}, 250); // Show message after http-equiv="refresh"
}, 250);
}
function done() {
Expand All @@ -174,7 +174,7 @@ func (h *Handler) performOidcFrontOrBackChannelLogout(w http.ResponseWriter, r *
}
}
setAndRegisterTimeout(redirect, 7000); // redirect after 5 seconds if e.g. an iframe doesn't load
setAndRegisterTimeout(redirect, 7000); // redirect after 7 seconds if e.g. an iframe doesn't load
// If the redirect takes unusually long, show a message
setTimeout(function () {
Expand Down

0 comments on commit aed876e

Please sign in to comment.