Missing validation for max characters for "login" input #49

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

Description:
Validation for maximum characters is missing on creating a user. Because of this, after creating, login goes beyond the app.

Steps to reproduce:

  1. Open app
  2. Click on "Users"
  3. Click on blue "+" button (to create a user)
  4. In "login" field type a very long string
  5. Click "Create" button

Actual result:
User is created and login breaks the front-end of the app.

Expected result:
Validation for very long login should work and an message should be displayed: "Maximum login length is n characters"

image
image
image
image
image

**Description:** Validation for maximum characters is missing on creating a user. Because of this, after creating, login goes beyond the app. **Steps to reproduce:** 1) Open app 2) Click on "Users" 3) Click on blue "+" button (to create a user) 4) In "login" field type a very long string 5) Click "Create" button **Actual result:** User is created and login breaks the front-end of the app. **Expected result:** Validation for very long login should work and an message should be displayed: "Maximum login length is n characters" ![image](/attachments/e18535fc-7574-4841-bf99-c4efbebfb672) ![image](/attachments/9a56ab26-f067-4dd1-9204-8641377a9b26) ![image](/attachments/6364c274-5389-4974-9001-ab093174ce5c) ![image](/attachments/e672687d-1c85-4812-9eab-1235e28e7ff8) ![image](/attachments/67d09b5d-41f7-4934-9e26-63b93612a5dd)
Ghost added the
Bug
label 2021-10-13 14:31:22 +03:00

Fixed.

Fixed.
Collaborator

Added 31 character restriction for both master and regular type of users.
Merged on #89 Pull Request. 🍺

Added 31 character restriction for both master and regular type of users. Merged on [#89 Pull Request](https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/89). 🍺
NaiJi closed this issue 2022-05-04 22:45:06 +03:00
NaiJi added the
Fixed
label 2022-05-04 22:54:31 +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#49
There is no content yet.