mod_invites_bootstrap: Reject old index values

This commit is contained in:
Matthew Wild 2021-03-10 12:13:11 +00:00
parent 90b13aed6e
commit e9e5762936
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ local function handle_request(event)
if current_index == last_bootstrap.index then
event.response.headers.Location = last_bootstrap.result;
return 303;
elseif current_index < last_bootstrap.index then
return 410;
end
end