Add prefix to feed and incoming mail tokens
What does this MR do and why?
Resolves Add prefix to feed tokens (#376749 - closed)
Resolves Add prefix to incoming email tokens (#376750 - closed)
It adds a prefix to the feed token and incoming mail token. I would have done one at the time but they were next to each other in the same file and the change was small. Happy to split it up if the reviewer thinks it's a better idea!
Screenshots or screen recordings
The tokens in the screenshots below were revoked before posting.
There's a change in color between the screenshots but the prefixes are what matters :)
Before | After |
---|---|
How to set up and validate locally
- Enable Incoming Mail in
gitlab.yml
(incoming_mail.enabled = true
) - Visit http://gdk.test:3000/-/profile/personal_access_tokens and reset the existing tokens
- Observe that the new ones have prefixes
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Dominic Couture