update devise-two-factor to 4.0.0
This commit is contained in:
parent
cb675f5c8d
commit
ee35ad3200
3 changed files with 9 additions and 7 deletions
2
Gemfile
2
Gemfile
|
|
@ -27,7 +27,7 @@ gem "json-schema", "2.8.1"
|
||||||
# Authentication
|
# Authentication
|
||||||
|
|
||||||
gem "devise", "4.7.1"
|
gem "devise", "4.7.1"
|
||||||
gem "devise-two-factor", "3.0.3"
|
gem "devise-two-factor", "4.0.0"
|
||||||
gem "devise_lastseenable", "0.0.6"
|
gem "devise_lastseenable", "0.0.6"
|
||||||
gem "rqrcode", "1.1.2"
|
gem "rqrcode", "1.1.2"
|
||||||
|
|
||||||
|
|
|
||||||
12
Gemfile.lock
12
Gemfile.lock
|
|
@ -174,12 +174,12 @@ GEM
|
||||||
railties (>= 4.1.0)
|
railties (>= 4.1.0)
|
||||||
responders
|
responders
|
||||||
warden (~> 1.2.3)
|
warden (~> 1.2.3)
|
||||||
devise-two-factor (3.0.3)
|
devise-two-factor (4.0.0)
|
||||||
activesupport (< 5.3)
|
activesupport (< 6.2)
|
||||||
attr_encrypted (>= 1.3, < 4, != 2)
|
attr_encrypted (>= 1.3, < 4, != 2)
|
||||||
devise (~> 4.0)
|
devise (~> 4.0)
|
||||||
railties (< 5.3)
|
railties (< 6.2)
|
||||||
rotp (~> 2.0)
|
rotp (~> 6.0)
|
||||||
devise_lastseenable (0.0.6)
|
devise_lastseenable (0.0.6)
|
||||||
devise
|
devise
|
||||||
rails (>= 3.0.4)
|
rails (>= 3.0.4)
|
||||||
|
|
@ -616,7 +616,7 @@ GEM
|
||||||
actionpack (>= 5.0)
|
actionpack (>= 5.0)
|
||||||
railties (>= 5.0)
|
railties (>= 5.0)
|
||||||
rexml (3.2.4)
|
rexml (3.2.4)
|
||||||
rotp (2.1.2)
|
rotp (6.2.0)
|
||||||
rqrcode (1.1.2)
|
rqrcode (1.1.2)
|
||||||
chunky_png (~> 1.0)
|
chunky_png (~> 1.0)
|
||||||
rqrcode_core (~> 0.1)
|
rqrcode_core (~> 0.1)
|
||||||
|
|
@ -805,7 +805,7 @@ DEPENDENCIES
|
||||||
cucumber-rails (= 2.0.0)
|
cucumber-rails (= 2.0.0)
|
||||||
database_cleaner (= 1.8.3)
|
database_cleaner (= 1.8.3)
|
||||||
devise (= 4.7.1)
|
devise (= 4.7.1)
|
||||||
devise-two-factor (= 3.0.3)
|
devise-two-factor (= 4.0.0)
|
||||||
devise_lastseenable (= 0.0.6)
|
devise_lastseenable (= 0.0.6)
|
||||||
diaspora-prosody-config (= 0.0.7)
|
diaspora-prosody-config (= 0.0.7)
|
||||||
diaspora_federation-json_schema (= 0.2.6)
|
diaspora_federation-json_schema (= 0.2.6)
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@
|
||||||
# licensed under the Affero General Public License version 3 or later. See
|
# licensed under the Affero General Public License version 3 or later. See
|
||||||
# the COPYRIGHT file.
|
# the COPYRIGHT file.
|
||||||
|
|
||||||
|
require "attr_encrypted"
|
||||||
|
|
||||||
class User < ApplicationRecord
|
class User < ApplicationRecord
|
||||||
include AuthenticationToken
|
include AuthenticationToken
|
||||||
include Connecting
|
include Connecting
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue