mirror of https://github.com/mastodon/mastodon
Fix suspicious sign-in mails never being sent (#18599)
* Add tests * Fix suspicious sign-in mails never being sentpull/18210/merge
parent
27f41768e8
commit
327eed0076
@ -1,8 +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 }
|
||||
authentication_method 'password'
|
||||
success true
|
||||
failure_reason nil
|
||||
ip { Faker::Internet.ip_v4_address }
|
||||
user_agent { Faker::Internet.user_agent }
|
||||
end
|
||||
|
Loading…
Reference in New Issue