Kaynağa Gözat

fix for issue #1516: OAuth logout doesn't work

bubble
Li Lin 9 yıl önce
ebeveyn
işleme
00a5e4d838
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +2
    -2
      lib/swagger-oauth.js

+ 2
- 2
lib/swagger-oauth.js Dosyayı Görüntüle

@@ -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');


Yükleniyor…
İptal
Kaydet