Add authentication history (#16408)
This commit is contained in:
parent
946200b471
commit
d174d12c83
19 changed files with 206 additions and 21 deletions
8
spec/fabricators/login_activity_fabricator.rb
Normal file
8
spec/fabricators/login_activity_fabricator.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
Fabricator(:login_activity) do
|
||||
user
|
||||
strategy 'password'
|
||||
success true
|
||||
failure_reason nil
|
||||
ip { Faker::Internet.ip_v4_address }
|
||||
user_agent { Faker::Internet.user_agent }
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue