Secure public contestant forms by asking the code first
This commit is contained in:
@@ -349,6 +349,7 @@ en:
|
||||
stopwatch_reset: Reset
|
||||
stopwatch_start: Start
|
||||
update: Save modifications
|
||||
validate: Validate
|
||||
field: Field
|
||||
none: No field selected
|
||||
rank: Rank
|
||||
|
||||
@@ -320,6 +320,7 @@ fr:
|
||||
stopwatch_reset: Ré-initialiser
|
||||
stopwatch_start: Démarrer
|
||||
update: Enregistrer les modifications
|
||||
validate: Valider
|
||||
field: Champ
|
||||
none: Aucun champ sélectionné
|
||||
rank: Rang
|
||||
|
||||
@@ -63,6 +63,8 @@ Rails.application.routes.draw do
|
||||
get "public/:id/offline/:token/completed", to: "contests#offline_completed"
|
||||
get "public/p/:contestant_id", to: "contestants#get_public_completion"
|
||||
post "public/p/:contestant_id", to: "contestants#post_public_completion"
|
||||
get "public/p/:contestant_id/code", to: "contestants#get_public_completion_code"
|
||||
post "public/p/:contestant_id/code", to: "contestants#post_public_completion_code"
|
||||
get "public/p/:contestant_id/updated", to: "contestants#public_completion_updated"
|
||||
|
||||
direct :public_scoreboard do |contest|
|
||||
|
||||
Reference in New Issue
Block a user