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: 9685a465b7cc11a57871f495f17aafa8183f594a0c1adf40d23208f84e78fb2d
4
- data.tar.gz: 0b187f40f6d8a8615a1ef2edcdfebeee2289419e0ed46ccf8183e247e92668f7
3
+ metadata.gz: 55efbeee85d8da71dcb8389830e9ff26db36a4bcf112c442e2c7d858ef335f33
4
+ data.tar.gz: 07ad7344eaa79e42a4cc1679e28841bc60d0c4a39aecc9d86516098a204260b3
5
5
  SHA512:
6
- metadata.gz: 2fbe04055aaf27ee45ef73dac505676e17cd8addacf9b2860752b3fff0d44725e515ab2d80aa1dd430828dbed8daa0630b7baf7c084722fecc17f1e853cc0a5d
7
- data.tar.gz: 36959894cce70b5a78ca97d5821a4a20737e029bf6a736aee6072debd8880550772b45ec0737b4d5c4b38646e4455133b70106f9d820f256fe5d1d268e492f26
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 :show and return if params[:code].nil?
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)
@@ -1,3 +1,3 @@
1
1
  module DeviseMultiFactor
2
- VERSION = "3.1.6".freeze
2
+ VERSION = "3.1.7".freeze
3
3
  end
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.6
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-22 00:00:00.000000000 Z
12
+ date: 2021-02-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails