Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(labrinth): validate PAT name #2906

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Erb3
Copy link
Contributor

@Erb3 Erb3 commented Nov 4, 2024

Uses the macros provided by validator to validate the name. The name already had a macro, but .validate() was not called. Stole the snippet from PAT creation route.

Resolves #1549

Uses the macros provided by validator to validate the name. The name already had a macro, but .validate was not called.

Resolves modrinth#1549
@Erb3 Erb3 changed the title fix(backend): validate PAT name fix(labrinth): validate PAT name Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant