Merge pull request #4200 from betagouv/fix-sensitive-contact-form
app: mark the contact forms as not sensitive to trusted tokens
This commit is contained in:
commit
59101b39b1
1 changed files with 2 additions and 0 deletions
|
@ -201,6 +201,8 @@ class ApplicationController < ActionController::Base
|
|||
|
||||
if path == '/' ||
|
||||
path == '/users/sign_out' ||
|
||||
path == '/contact' ||
|
||||
path == '/contact-admin' ||
|
||||
path.start_with?('/connexion-par-jeton') ||
|
||||
path.start_with?('/api/') ||
|
||||
path.start_with?('/lien-envoye')
|
||||
|
|
Loading…
Reference in a new issue