Skip to content

Commit

Permalink
chore: synchronize workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 23, 2023
1 parent 0132879 commit 6c6457e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions consent/csrf.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

//go:build !flagka

package consent

import (
"net/http"
"strings"
"time"

"github.com/gorilla/sessions"

"github.com/ory/fosite"
"github.com/ory/hydra/v2/x"
"github.com/ory/x/errorsx"
"github.com/ory/x/mapx"
"net/http"
"strings"
"time"
)

func createCsrfSession(w http.ResponseWriter, r *http.Request, conf x.CookieConfigProvider, store sessions.Store, name string, csrfValue string, maxAge time.Duration) error {
Expand Down

0 comments on commit 6c6457e

Please sign in to comment.