Skip to content

User Form validation mismatch #2527

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

Open
robertlynch3 opened this issue Apr 28, 2025 · 0 comments
Open

User Form validation mismatch #2527

robertlynch3 opened this issue Apr 28, 2025 · 0 comments

Comments

@robertlynch3
Copy link

On GNS3 v3.0.2 I attempted to add a new user. The user's password was 7 characters, so the password box on the form did not show an issue. User add failed.

Logs indicate that the validation on the backend do not match what is displayed to the user.

ERROR server.py:208 Request validation error in /v3/access/users (POST): [{'type': 'too_short', 'loc': ('body', 'password'), 'msg': 'Value should have at least 8 items after validation, not 7', 'input': 'test123', 'ctx': {'field_type': 'Value', 'min_length': 8, 'actual_length': 7}}]
@grossmj grossmj moved this from Triage to Todo in GNS3 tracking Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant