Commit f9d362e 1 parent ac8801a commit f9d362e Copy full SHA for f9d362e
File tree 2 files changed +9
-2
lines changed
src/main/webapp/WEB-INF/pages/sso
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 86
86
87
87
</form >
88
88
</div >
89
- <%-- END: login form --%>
89
+ <%-- END: login form --%>
90
+
91
+ <!-- Remove the inventory JWT token -->
92
+ <script type =" text/javascript" >
93
+ window .sessionStorage .removeItem (" id_token" );
94
+ </script >
95
+
90
96
91
97
</div >
Original file line number Diff line number Diff line change 21
21
}
22
22
23
23
$ (' #ssoBackToSessionBtn' ).click (function () {
24
+ window .sessionStorage .removeItem (" id_token" );
24
25
window .location .href = " /adminLogin/backToSsoUserWorkspace" ;
25
26
});
26
27
27
28
/* don't show logout within RSpace session, it would just duplicate 'Account'->'Sign out' */
28
29
$ (' #ssoLogoutBtn' ).toggle (ssoheader_rspaceUsername == ' ' );
29
30
$ (' #ssoLogoutBtn' ).click (function () {
30
- window .location .href = " /adminLogin/logoutFromSso" ;
31
+ window .location .href = " /adminLogin/logoutFromSso" ;
31
32
});
32
33
}
33
34
You can’t perform that action at this time.
0 commit comments