mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 16:30:17 +02:00
linter pass; remove context param from GetIdentityProviderForRequestURL
This commit is contained in:
parent
a5a0cf4ba8
commit
f3288974dd
5 changed files with 8 additions and 10 deletions
|
@ -118,7 +118,7 @@ func getCookies(r *http.Request, name string) []*http.Cookie {
|
|||
}
|
||||
|
||||
// LoadSession returns a State from the cookie in the request.
|
||||
func (cs *Store) LoadSession(ctx context.Context, r *http.Request) (string, error) {
|
||||
func (cs *Store) LoadSession(_ context.Context, r *http.Request) (string, error) {
|
||||
opts := cs.getOptions()
|
||||
cookies := getCookies(r, opts.Name)
|
||||
if len(cookies) == 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue