[fix #1709] A user can change its email

This commit is contained in:
simon lehericey 2019-07-08 10:40:50 +02:00 committed by Pierre de La Morinerie
parent 0f9fdf3f75
commit d36f6ebcd7
7 changed files with 125 additions and 7 deletions

View file

@ -296,6 +296,7 @@ Rails.application.routes.draw do
post 'renew-api-token' => 'profil#renew_api_token'
# allow refresh 'renew api token' page
get 'renew-api-token' => redirect('/profil')
patch 'update_email' => 'profil#update_email'
end
#