diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 17:16:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 17:16:28 +0300 |
commit | e4384360a16dd9a19d4d2d25d0ef1f2b862ed2a6 (patch) | |
tree | 2fcdfa7dcdb9db8f5208b2562f4b4e803d671243 /app/mailers/previews | |
parent | ffda4e7bcac36987f936b4ba515995a6698698f0 (diff) |
Add latest changes from gitlab-org/gitlab@16-2-stable-eev16.2.0-rc42
Diffstat (limited to 'app/mailers/previews')
-rw-r--r-- | app/mailers/previews/notify_preview.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/mailers/previews/notify_preview.rb b/app/mailers/previews/notify_preview.rb index d91f69cdd4b..576dbdd8b52 100644 --- a/app/mailers/previews/notify_preview.rb +++ b/app/mailers/previews/notify_preview.rb @@ -64,6 +64,11 @@ class NotifyPreview < ActionMailer::Preview Notify.access_token_created_email(user, 'token_name').message end + def access_token_expired_email + token_names = [] + Notify.access_token_expired_email(user, token_names).message + end + def access_token_revoked_email Notify.access_token_revoked_email(user, 'token_name').message end |