On creating a user, field "login" admit "root" and "admin" as username #48

Closed
opened 2021-09-22 20:20:18 +03:00 by tester.nicolai · 2 comments

Description:
On creating a user, if we type login "admin" or "root" and we try to create account with this credentials, form is submitted succesfully.

Steps to reproduce:

  1. Open app
  2. Click on "Users"
  3. Click on blue "+" button (to create a new user)
  4. In input "login" type "root"
  5. Click "Create" button

Actual result:
Form is submitted and account is succesfully created.

Expected result:
Validation should work and an error with text "invalid login format" should be displayed.

Comments:
The same problem is present also if we try to create a user with "admin" login.

image

**Description:** On creating a user, if we type login "admin" or "root" and we try to create account with this credentials, form is submitted succesfully. **Steps to reproduce:** 1) Open app 2) Click on "Users" 3) Click on blue "+" button (to create a new user) 4) In input "login" type "root" 5) Click "Create" button **Actual result:** Form is submitted and account is succesfully created. **Expected result:** Validation should work and an error with text "invalid login format" should be displayed. **Comments:** The same problem is present also if we try to create a user with "admin" login. ![image](/attachments/25e100eb-2349-4d67-94e5-943fcc160015)
Ghost added the
Bug
label 2021-10-13 14:30:59 +03:00

Not fixed.
image

Not fixed. ![image](/attachments/c88b9797-672d-49e2-9e59-2cd8e7263a25)
Collaborator

Login "admin" should be allowed, there is nothing breakable about it. The bug with "root" doesn't reproduce after the fix. Closing the issue, thank you 🍺

Login "admin" should be allowed, there is nothing breakable about it. The bug with "root" doesn't reproduce after the fix. Closing the issue, thank you 🍺
NaiJi closed this issue 2022-05-04 22:49:13 +03:00
NaiJi added the
Fixed
label 2022-05-04 22:54:39 +03:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#48
There is no content yet.