Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
bubblev
/
swagger-ui
Vigiar
4
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
Fix OAuth2 login when no scope is defined
bubble
Stefano Travelli
há 9 anos
committed by
Mohsen Azimi
ascendente
8a206e1e96
cometimento
bb1ebcef28
1 ficheiros alterados
com
1 adições
e
1 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+1
-1
lib/swagger-oauth.js
+ 1
- 1
lib/swagger-oauth.js
Ver ficheiro
@@ -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
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar