We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d435c38 commit 9919d2dCopy full SHA for 9919d2d
1 file changed
src/main/resources/static/js/shiny.ui.js
@@ -113,7 +113,10 @@ Shiny.ui = {
113
},
114
115
redirectToLogin: function() {
116
- window.location.href = Shiny.common.staticState.contextPath;
+ if (!Shiny.app.runtimeState.navigatingAway) {
117
+ // only redirect to login when not navigating away, e.g. when logging out
118
+ window.location.href = Shiny.common.staticState.contextPath;
119
+ }
120
121
122
hideInstanceModal: function() {
0 commit comments