fix for issue #1516: OAuth logout doesn't work
This commit is contained in:
@@ -167,8 +167,8 @@ function handleLogin() {
|
|||||||
|
|
||||||
|
|
||||||
function handleLogout() {
|
function handleLogout() {
|
||||||
for(key in window.authorizations.authz){
|
for(key in window.swaggerUi.api.clientAuthorizations.authz){
|
||||||
window.authorizations.remove(key)
|
window.swaggerUi.api.clientAuthorizations.remove(key)
|
||||||
}
|
}
|
||||||
window.enabledScopes = null;
|
window.enabledScopes = null;
|
||||||
$('.api-ic.ic-on').addClass('ic-off');
|
$('.api-ic.ic-on').addClass('ic-off');
|
||||||
|
|||||||
Reference in New Issue
Block a user