Skip to content

Add token name formatting (as in access_token_revoked_email.html.haml)

Add code formatting to the token name in HTML

Currently, the HTML version of the "personal access token revoked" email notification formats the token name as code:
https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/views/notify/access_token_revoked_email.html.haml#L4

However, the equivalent notification for "personal access token created" does not:
https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/views/notify/access_token_created_email.html.haml#L4

This simple edit is to add the missing code formatting.

Merge request reports