Introduce rotation of personal tokens in UI
What does this MR do and why?
Implements rotation of personal access token via the UI.
Screenshots or screen recordings
Screen_Recording_2024-10-22_at_0.24.08
How to set up and validate locally
- Go to http://localhost:3000/-/user_settings/personal_access_tokens
- Create a personal access token
- Click on the 'Rotate' button.
- Confirm that the token has changed, for example via
bundle exec rails console
PersonalAccessToken.last.token_digest
Related to #241523 (closed)
Edited by Henry Helm