lint comment
Signed-off-by: ariary <ariary9.2@hotmail.fr>
This commit is contained in:
parent
1497e70225
commit
c6f6dd69e9
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ func newServer(ctx context.Context, c Config, rotationStrategy rotationStrategy)
|
||||||
supportedRes[respType] = true
|
supportedRes[respType] = true
|
||||||
}
|
}
|
||||||
|
|
||||||
supportedGrant := []string{grantTypeAuthorizationCode, grantTypeRefreshToken, grantTypeDeviceCode} //default
|
supportedGrant := []string{grantTypeAuthorizationCode, grantTypeRefreshToken, grantTypeDeviceCode} // default
|
||||||
if c.PasswordConnector != "" {
|
if c.PasswordConnector != "" {
|
||||||
supportedGrant = append(supportedGrant, grantTypePassword)
|
supportedGrant = append(supportedGrant, grantTypePassword)
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue