Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
bubblev
/
swagger-ui
Segui
4
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Fix OAuth2 login when no scope is defined
bubble
Stefano Travelli
9 anni fa
committed by
Mohsen Azimi
parent
8a206e1e96
commit
bb1ebcef28
1 ha cambiato i file
con
1 aggiunte
e
1 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+1
-1
lib/swagger-oauth.js
+ 1
- 1
lib/swagger-oauth.js
Vedi File
@@ -15,8 +15,8 @@ function handleLogin() {
var defs = auths;
for(key in defs) {
var auth = defs[key];
oauth2KeyName = key;
if(auth.type === 'oauth2' && auth.scopes) {
oauth2KeyName = key;
var scope;
if(Array.isArray(auth.scopes)) {
// 1.2 support
Scrivi
Anteprima
Caricamento…
Annulla
Salva