Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Hide legacy form if application-level enforcement is enabled
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Collaborate/take over this issue](https://contributors.gitlab.com/manage-issue?action=work&projectId=278964&issueIid=579727)
</details>
<!--IssueSummary end-->
- [ ] Update `PersonalAccessTokensApp` so user can only create fine-grained token (`Preferences > Personal access tokens`) if enforcement is enabled.
- [ ] Return 404 for trying to access the legacy form if enforcement is enabled
issue