Skip to content

Commit

Permalink
Disable JWT validation for /admin/csv endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinqian00 committed Feb 14, 2025
1 parent 1c742b3 commit 7ec555a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/lrsql/admin/routes.clj
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@
["/admin/csv" :get (conj common-interceptors
lm/validate-property-paths
lm/validate-query-params
(ji/validate-jwt jwt-secret jwt-leeway no-val-opts)
ji/validate-jwt-account
#_(ji/validate-jwt jwt-secret jwt-leeway no-val-opts)
#_ji/validate-jwt-account
lm/download-statement-csv)
:route-name :lrsql.lrs-management/download-csv]})

Expand Down

0 comments on commit 7ec555a

Please sign in to comment.