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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b79b1247c83ed16483f2e4469dfcaad10389f18acb37a6c78c36b9c8d4c6305
|
4
|
+
data.tar.gz: a86822ad6910a44dd71b5255a7a268f22a5c2d5e284303b23c87329cd552dab7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
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.
|
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:
|
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
|
-
|
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.
|