Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
RobKraft committed Dec 23, 2024
1 parent 00621a3 commit a3eb338
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ func CallbackHandler(w http.ResponseWriter, r *http.Request) {
return
}

log.Printf("profile: %v", profile)

// Redirect to logged in page
http.Redirect(w, r, "/", http.StatusSeeOther)
}
Expand Down Expand Up @@ -197,8 +195,6 @@ func AuthMiddleware(next http.Handler) http.Handler {
if err != nil && err != sql.ErrNoRows {
log.Println(err)
}
} else {
log.Printf("not logged in, profile: %v", profile)
}
ctx := context.WithValue(r.Context(), "user", user)
next.ServeHTTP(w, r.WithContext(ctx))
Expand Down

0 comments on commit a3eb338

Please sign in to comment.