add test to france connect controller
This commit is contained in:
parent
b979c9df32
commit
c57cb5b75d
2 changed files with 7 additions and 5 deletions
|
@ -25,5 +25,8 @@ class FranceConnectController < ApplicationController
|
|||
|
||||
redirect_to(controller: 'users/dossiers', action: :index)
|
||||
end
|
||||
rescue Rack::OAuth2::Client::Error => e
|
||||
Rails.logger.error e.message
|
||||
redirect_to(new_user_session_path)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue