summaryrefslogtreecommitdiff
path: root/app/mailers/previews
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-06-01 18:08:07 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-01 18:08:07 +0000
commitd7ed3b4766871c30f50736c1d9eedc46c4035841 (patch)
tree72d0b5652364973c9bc3df5bf710a00fa1432b09 /app/mailers/previews
parent711f8595324430e216ba62f874e7db9fdf482f73 (diff)
downloadgitlab-ce-d7ed3b4766871c30f50736c1d9eedc46c4035841.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/mailers/previews')
-rw-r--r--app/mailers/previews/notify_preview.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/previews/notify_preview.rb b/app/mailers/previews/notify_preview.rb
index c931b5a848f..cb7c6a36c27 100644
--- a/app/mailers/previews/notify_preview.rb
+++ b/app/mailers/previews/notify_preview.rb
@@ -162,7 +162,7 @@ class NotifyPreview < ActionMailer::Preview
end
def unknown_sign_in_email
- Notify.unknown_sign_in_email(user, '127.0.0.1').message
+ Notify.unknown_sign_in_email(user, '127.0.0.1', Time.current).message
end
private