Skip to content

Bug #6 / New user sign up with length of password less than 8 symbols #15

Description

@SofyaKovalenko

Environment
Windows 10, Postman

Build version
v0.0.1

Module
Sign up (BackEnd)

Severity
Major

Priority
Medium

Description
New user sign up with length of password less than 8 symbols

Steps to reproduce

  1. Send request in Postman:
    POST https://spells.hedgi.ru/api/v0.0.1/auth/registration
    {
    "email": "Sofyatestpassword1@bk.ru",
    "password": "1234567",
    "nickName": "Sofyatestpassword1",
    "result": "string",
    "role": "PLAYER",
    "active": true
    }

Expected result

  1. Sign up fails. Status code: 400 (Bad Request) or 406 (Not Acceptable).

Actual result

  1. Successful sign up. Status code: 200 OK, An email has been sent to your email address with a confirmation link.; received confirmation link on email (MailHog)

bug6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions