devise-multi-factor 3.1.6 → 3.1.7
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: 55efbeee85d8da71dcb8389830e9ff26db36a4bcf112c442e2c7d858ef335f33
|
4
|
+
data.tar.gz: 07ad7344eaa79e42a4cc1679e28841bc60d0c4a39aecc9d86516098a204260b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bb5bab0057cefa4f6392e517a4daa529d4eb0a77973f662c7500b904cf481d0258a3b39f6946932a2e15a37f2b199210378f3c62867667f8aa3c5ca689f03e7
|
7
|
+
data.tar.gz: 6f2c0e405d18503be62192f06ce15efa6689c2b161b5604bfc779ae7b50a83a0c828035a918f250abb73804ff177c266c393b36f9c054ce6068992eff849eb61
|
@@ -8,7 +8,7 @@ class Devise::TwoFactorAuthenticationController < DeviseController
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def update
|
11
|
-
render
|
11
|
+
render(:show, status: :unprocessable_entity) and return if params[:code].nil?
|
12
12
|
|
13
13
|
if resource.authenticate_otp(params[:code])
|
14
14
|
after_two_factor_success_for(resource)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-multi-factor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitrii Golub
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-02-
|
12
|
+
date: 2021-02-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|