Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zaloguj się
bubblev
/
swagger-ui
Obserwuj
4
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Oczekujące zmiany
0
Wydania
0
Wiki
Aktywność
Przeglądaj źródła
Fix OAuth2 login when no scope is defined
bubble
Stefano Travelli
9 lat temu
rodzic
384ffb7e1f
commit
a5f1eeae04
1 zmienionych plików
z
1 dodań
i
1 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+1
-1
lib/swagger-oauth.js
+ 1
- 1
lib/swagger-oauth.js
Wyświetl plik
@@ -14,8 +14,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
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz