lint comment

Signed-off-by: ariary <ariary9.2@hotmail.fr>
This commit is contained in:
ariary 2021-09-15 03:58:27 -04:00
parent 1497e70225
commit c6f6dd69e9

View file

@ -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)
} }