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

[BUG] Users Can Be Created With a Blank Username #5781

Closed
pladesma opened this issue May 12, 2023 · 0 comments
Closed

[BUG] Users Can Be Created With a Blank Username #5781

pladesma opened this issue May 12, 2023 · 0 comments
Labels
bug Something isn't working Fix-Commited Issue fixed and will be available in milestone Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-10405 triaged
Milestone

Comments

@pladesma
Copy link
Collaborator

Describe the bug
You can create users with a blank username via the REST API.

To Reproduce
Steps to reproduce the behavior:

  1. Open the client API (i.e. https://localhost:8443/api) and log in
  2. Navigate to Users > POST /users
  3. Click "Try it out"
  4. In the Request body, make the username blank
  5. Execute the request

Expected behavior
The API returns an error and no new user is created

Actual behavior
The API returns a success response and a new user is created with a blank username

@pladesma pladesma added bug Something isn't working Fix-Commited Issue fixed and will be available in milestone Internal-Issue-Created An issue has been created in NextGen's internal issue tracker labels May 12, 2023
@pladesma pladesma added this to the 4.4.0 milestone May 12, 2023
@pladesma pladesma closed this as completed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fix-Commited Issue fixed and will be available in milestone Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-10405 triaged
Projects
None yet
Development

No branches or pull requests

2 participants