remove obsolete devise scope

This commit is contained in:
simon lehericey 2021-10-11 11:28:47 +02:00
parent 2f470b25aa
commit 5aaf46258a

View file

@ -39,14 +39,6 @@ class FranceConnect::ParticulierController < ApplicationController
sign_out :user
end
if instructeur_signed_in?
sign_out :instructeur
end
if administrateur_signed_in?
sign_out :administrateur
end
sign_in user
user.update_attribute('loged_in_with_france_connect', User.loged_in_with_france_connects.fetch(:particulier))