liquid_feedback_frontend

view env/lf4rcs/notification_handler.lua @ 1494:3e9b0f1adec3

Removed token based CSRF protection (WebMCP uses SameSite cookies now)
author bsw
date Mon Dec 09 15:54:57 2019 +0100 (2019-12-09)
parents 30523f31b186
children
line source
1 function lf4rcs.notification_handler(event)
2 if event.event == "issue_state_changed" and (
3 event.state ~= "admission" and
4 event.state ~= "discussion" and
5 event.state ~= "verification" and
6 event.state ~= "voting"
7 ) then
8 lf4rcs.commit(event.issue)
9 end
10 end

Impressum / About Us