omniauth-idcard 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52600f1c4f90252288de881e7b53d84d3918fa4c
4
- data.tar.gz: ece489ed80f51b8eafa2718aa8e4515b05fc3f9b
3
+ metadata.gz: bffd461b93e5284f09f6811c293f00877bdaf0ca
4
+ data.tar.gz: 930bb732bd91be1cfe8ba20713f269ed7198b3bf
5
5
  SHA512:
6
- metadata.gz: 003891903e75a17b65788acfb2ab2af3e6f8aa7335f26ef68a2c44a4076309faa6d6c6b00ac7201d39bb7d1230aff867a1295ad386a59e5dd8d4f2850de492ba
7
- data.tar.gz: 578828b451fc4b26cfbd46dc50966ba37b50f5acbeca11c8d62bcd9d32b9fa384107947865be883f40fb905825ff73a609bb349477e01ca6ec2019df79d991c3
6
+ metadata.gz: c17e638c743068589053dd0ddab288b267db703971d04691e0cd5a5fcff7c89b0eb11de5b38b53ea8179b68cfe31eacd670c525041e1a0e41412a3890502effb
7
+ data.tar.gz: 6ac6aa02a256f661a35c24d3be5311d466605044bf594ef5057ca278118d4b7df728fe3144d256c344a46ae38e553e3e9e87d778c2010e40eda3652577c4fc64
@@ -23,7 +23,7 @@ module OmniAuth
23
23
  end
24
24
 
25
25
  def request_phase
26
- if @env['SSL_CLIENT_CERT'] != ''
26
+ if @env['SSL_CLIENT_CERT'] && @env['SSL_CLIENT_CERT'] != ''
27
27
  debug "Start authentication with ID-Card. Got certificate:"
28
28
  debug @env['SSL_CLIENT_CERT']
29
29
 
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Idcard
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-idcard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tarmo Talu