MID service name for registrant #2620

This commit is contained in:
Martin Lensment 2015-06-08 14:22:34 +03:00 committed by Priit Tark
parent c91f617d3f
commit b256d3e11b

View file

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