mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 12:47:29 +02:00
Merge branch 'add-tara-to-registrant' of https://github.com/internetee/registry into add-tara-to-registrant
This commit is contained in:
commit
2ed6370efe
4 changed files with 13 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
06.10.2020
|
||||
* Updated Directo gem to fix vat codes for EU and non-EU clients [#1699](https://github.com/internetee/registry/pull/1699)
|
||||
* Email validation level is now configurable [#1675](https://github.com/internetee/registry/pull/1675)
|
||||
|
||||
01.10.2020
|
||||
* Fixed EPP authentication [#1697](https://github.com/internetee/registry/pull/1697)
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ GIT
|
|||
|
||||
GIT
|
||||
remote: https://github.com/internetee/directo.git
|
||||
revision: e4ba54f601d1815fd8782a196788730d47861e86
|
||||
revision: 711ce2d942456ee830b649b03b7141e903a1d86b
|
||||
branch: master
|
||||
specs:
|
||||
directo (1.0.1)
|
||||
|
@ -54,7 +54,7 @@ GIT
|
|||
|
||||
GIT
|
||||
remote: https://github.com/internetee/omniauth-tara.git
|
||||
revision: 75c369dd86a5fe1a2ee4c2a6246252d79431071c
|
||||
revision: 35c93a072e844b7a79a7d4a81b1de1ed9426dcd8
|
||||
branch: extended-logging
|
||||
specs:
|
||||
omniauth-tara (0.3.0)
|
||||
|
|
|
@ -167,6 +167,9 @@ tara_rant_identifier: 'identifier'
|
|||
tara_rant_secret: 'secret'
|
||||
tara_rant_redirect_uri: 'redirect_uri'
|
||||
|
||||
default_email_validation_type: 'regex'
|
||||
|
||||
|
||||
# Since the keys for staging are absent from the repo, we need to supply them separate for testing.
|
||||
test:
|
||||
payments_seb_bank_certificate: 'test/fixtures/files/seb_bank_cert.pem'
|
||||
|
|
|
@ -28,7 +28,10 @@ Truemail.configure do |config|
|
|||
# Optional parameter. You can predefine default validation type for
|
||||
# Truemail.validate('email@email.com') call without with-parameter
|
||||
# Available validation types: :regex, :mx, :smtp
|
||||
if Rails.env.production?
|
||||
if ENV['default_email_validation_type'].present? &&
|
||||
%w[regex, mx, smtp].include?(ENV['default_email_validation_type'])
|
||||
config.default_validation_type = ENV['default_email_validation_type'].to_sym
|
||||
elsif Rails.env.production?
|
||||
config.default_validation_type = :mx
|
||||
else
|
||||
config.default_validation_type = :regex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue