allow instructeur and administrateur to change their email to legit domain (#6550)

This commit is contained in:
simon lehericey 2021-10-18 12:03:13 +02:00
parent 8616a06937
commit 44c880adc4
6 changed files with 48 additions and 14 deletions

View file

@ -0,0 +1,2 @@
domains = ["gouv.fr", "sante.fr", "cnafmail.fr", "cnamts.fr", "cci.fr", "caf.fr", "msa.fr", "archi.fr", "ira-lille.fr"]
LEGIT_ADMIN_DOMAINS = ENV["LEGIT_ADMIN_DOMAINS"]&.split(';') || domains