Merge pull request #1528 from sloppycoder/master

fix for issue #1516: OAuth logout doesn't work
This commit is contained in:
Tony Tam
2015-08-11 10:57:29 -07:00

View File

@@ -167,8 +167,8 @@ function handleLogin() {
function handleLogout() {
for(key in window.authorizations.authz){
window.authorizations.remove(key)
for(key in window.swaggerUi.api.clientAuthorizations.authz){
window.swaggerUi.api.clientAuthorizations.remove(key)
}
window.enabledScopes = null;
$('.api-ic.ic-on').addClass('ic-off');