mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-27 02:24:03 -05:00
Update dependency devise-two-factor to v6 [SECURITY] (#31957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: David Roetzel <david@roetzel.de>
This commit is contained in:
parent
ef4d6ab988
commit
6801afa12f
@ -197,7 +197,7 @@ GEM
|
||||
railties (>= 4.1.0)
|
||||
responders
|
||||
warden (~> 1.2.3)
|
||||
devise-two-factor (5.1.0)
|
||||
devise-two-factor (6.0.0)
|
||||
activesupport (~> 7.0)
|
||||
devise (~> 4.0)
|
||||
railties (~> 7.0)
|
||||
|
@ -4,6 +4,8 @@ require 'rails_helper'
|
||||
require 'devise_two_factor/spec_helpers'
|
||||
|
||||
RSpec.describe User do
|
||||
subject { described_class.new(account: account) }
|
||||
|
||||
let(:password) { 'abcd1234' }
|
||||
let(:account) { Fabricate(:account, username: 'alice') }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user