Skip to content

Commit 6cad115

Browse files
committed
fix missing csrf to approve streak member
1 parent 34bd93e commit 6cad115

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

views/streak_participants.moon

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class StreakParticipants extends require "widgets.page"
2323
users: @pending_users
2424
action_area: (user) =>
2525
form method: "POST", ->
26+
@csrf_input!
2627
input type: "hidden", name: "user_id", value: user.id
2728
button {
2829
name: "action"

0 commit comments

Comments
 (0)