Configure sk service name #2619

This commit is contained in:
Martin Lensment 2015-06-08 12:40:32 +03:00
parent eb9ff84131
commit f1c7568013
2 changed files with 4 additions and 3 deletions

View file

@ -98,7 +98,7 @@ class Registrar::SessionsController < Devise::SessionsController
response = client.authenticate( response = client.authenticate(
phone: "+372#{phone}", phone: "+372#{phone}",
message_to_display: 'Authenticating', message_to_display: 'Authenticating',
service_name: 'Testing' service_name: ENV['sk_digi_doc_service_name'] || 'Testing'
) )
if response.faultcode if response.faultcode

View file

@ -67,6 +67,7 @@ registrant_url: 'https:/registrant.example.com' # for valid email body registran
# SK DigiDocService # SK DigiDocService
sk_digi_doc_service_endpoint: 'https://openxades.org:9443/DigiDocService' sk_digi_doc_service_endpoint: 'https://openxades.org:9443/DigiDocService'
sk_digi_doc_service_name: 'EIS test'
# Autotest config overwrites # Autotest config overwrites
test: test: