Skip to content

Commit

Permalink
added loggign
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Facchetti committed Jul 5, 2023
1 parent 08df721 commit cf16182
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/portal/middleware/aad.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ func NewAAD(log *logrus.Entry,
// logged).
func (a *aad) AAD(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
a.log.Errorf("there are %d cookies", len(r.Cookies()))
session, err := a.store.Get(r, SessionName)
if err != nil {
cookieError, ok := err.(securecookie.Error)
Expand Down

0 comments on commit cf16182

Please sign in to comment.