diff --git a/app/controllers/registrar/sessions_controller.rb b/app/controllers/registrar/sessions_controller.rb index 5a45f22e0..1fcd1e914 100644 --- a/app/controllers/registrar/sessions_controller.rb +++ b/app/controllers/registrar/sessions_controller.rb @@ -98,7 +98,7 @@ class Registrar::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 diff --git a/config/application-example.yml b/config/application-example.yml index 050216cee..63060db96 100644 --- a/config/application-example.yml +++ b/config/application-example.yml @@ -9,7 +9,6 @@ legal_documents_dir: 'import/legal_documents' # Example: 'Admin, EPP, REPP' will have name 'Admin, EPP, REPP - production' at New Relic. new_relic_app_name: 'Admin, EPP, REPP, Registrar, Registrant' - # You can use `rake secret` to generate a secure secret key. # Your secret key is used for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! @@ -30,8 +29,11 @@ webclient_cert_common_name: 'webclient' # and returns 2306 "Parameter value policy error" contact_org_enabled: 'false' -# Firewall countrer update command -# iptables_counter_update_command: '' +# Enable iptables counter updater +# iptables_counter_enabled: 'true' + +# Custom legal document types +# legal_document_types: "pdf,bdoc,ddoc,zip,rar,gz,tar,7z,odt,doc,docx" # DEPP server configuration (both for Registrar/Registrant servers) show_ds_data_fields: 'false' @@ -64,6 +66,7 @@ registrant_url: 'https:/registrant.example.com' # for valid email body registran # SK DigiDocService sk_digi_doc_service_endpoint: 'https://openxades.org:9443/DigiDocService' +sk_digi_doc_service_name: 'EIS test' # Autotest config overwrites test: