You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-06-15 00:15:00 +02:00
Updated linters
This commit is contained in:
@ -448,9 +448,8 @@ func (patTest *PassAccessTokenTest) getEndpointWithCookie(cookie string, endpoin
|
||||
value = strings.TrimPrefix(field, keyPrefix)
|
||||
if value != field {
|
||||
break
|
||||
} else {
|
||||
value = ""
|
||||
}
|
||||
value = ""
|
||||
}
|
||||
if value == "" {
|
||||
return 0, ""
|
||||
@ -612,7 +611,7 @@ func (sipTest *SignInPageTest) GetEndpoint(endpoint string) (int, string) {
|
||||
type AlwaysSuccessfulValidator struct {
|
||||
}
|
||||
|
||||
func (AlwaysSuccessfulValidator) Validate(user, password string) bool {
|
||||
func (AlwaysSuccessfulValidator) Validate(_, _ string) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user