mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Registrant mid poll honors configured endpoint #2620
This commit is contained in:
parent
ff0195b125
commit
e289366734
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ class Registrant::SessionsController < Devise::SessionsController
|
|||
# rubocop: disable Metrics/CyclomaticComplexity
|
||||
# rubocop: disable Metrics/MethodLength
|
||||
def mid_status
|
||||
client = Digidoc::Client.new
|
||||
endpoint = "#{ENV['sk_digi_doc_service_endpoint']}"
|
||||
client = Digidoc::Client.new(endpoint)
|
||||
client.session_code = session[:mid_session_code]
|
||||
auth_status = client.authentication_status
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue