app: mark the contact forms as not sensitive to trusted tokens
Instructeurs waiting for a confirmation token should be able to access the contact form (especially to ask for help). Fix #4198
This commit is contained in:
parent
e6c5b24bcd
commit
4e9895c11b
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