devise_fido_usf 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad6609bcd76892c81d0144877a8dc78396882de68a6c09ae9a0d2627751b650d
4
- data.tar.gz: c7d2b2f0d35770d9ca090219c165e5022e3ed5013961b04403c5ad88586e6b79
3
+ metadata.gz: 4b79b1247c83ed16483f2e4469dfcaad10389f18acb37a6c78c36b9c8d4c6305
4
+ data.tar.gz: a86822ad6910a44dd71b5255a7a268f22a5c2d5e284303b23c87329cd552dab7
5
5
  SHA512:
6
- metadata.gz: ba226e06d87658c76ca65d343c7dd3e88e600451fd3ada77cf2c7731bc14cfa8f842856117ae9ff6564901e53e7010b13d1719c61fed6bbd80cc15a3740dec33
7
- data.tar.gz: c2527d9eeafc5680c0f7194e4602b323d631515cd56302afe1eda180667f28bf1f4dd669b8a68b9d98eb1402fc087e4bfa5f963f01c3a1c52e199e3c43b342ca
6
+ metadata.gz: 36813cba698731cc2edb1d9ecf3486dada54a51868ccc6ff270fbb1d125e41efa73528ee5930ea9ecb8a99254b20b26bab9ffea91834db9a9a13e1335491ef07
7
+ data.tar.gz: 9fde5fec4806f8e731e81d5d65e39d0c05c4ac435abb62050d05ddd23dc2b9d66788a17c397d1f713fd10b4ffec9e98ebe477afe66f37b9d5daa3c45d4480d45
@@ -1,6 +1,8 @@
1
1
  class Devise::FidoUsfRegistrationsController < ApplicationController
2
2
  before_action :authenticate_resource!
3
3
 
4
+ respond_to :html
5
+
4
6
  def new
5
7
  @registration_requests = u2f.registration_requests
6
8
  session[:challenges] = @registration_requests.map(&:challenge)
@@ -55,10 +57,7 @@ class Devise::FidoUsfRegistrationsController < ApplicationController
55
57
  session.delete(:challenges)
56
58
  end
57
59
 
58
- respond_to do |format|
59
- format.js
60
- format.html { redirect_to fido_usf_registration_url }
61
- end
60
+ respond_with resource, location: after_sign_in_path_for(resource)
62
61
  end
63
62
 
64
63
  def update
@@ -1,3 +1,3 @@
1
1
  module DeviseFidoUsf
2
- VERSION = '0.1.11'
2
+ VERSION = '0.1.12'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_fido_usf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - H. Gregor Molter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-28 00:00:00.000000000 Z
11
+ date: 2021-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise
@@ -265,8 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
265
265
  - !ruby/object:Gem::Version
266
266
  version: '0'
267
267
  requirements: []
268
- rubyforge_project:
269
- rubygems_version: 2.7.6
268
+ rubygems_version: 3.0.3
270
269
  signing_key:
271
270
  specification_version: 4
272
271
  summary: A Devise module to allow FIDO U2F authentication.