forked from berserker/microblog
Fix suspicious sign-in mails never being sent (#18599)
* Add tests * Fix suspicious sign-in mails never being sentmain
parent
27f41768e8
commit
327eed0076
3 changed files with 39 additions and 6 deletions
@ -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