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

Sending request (register_user) with incorrect fields #752

Open
batmanovnn opened this issue Feb 15, 2023 · 1 comment
Open

Sending request (register_user) with incorrect fields #752

batmanovnn opened this issue Feb 15, 2023 · 1 comment
Assignees
Labels

Comments

@batmanovnn
Copy link

batmanovnn commented Feb 15, 2023

The POST request (register_user) is sent even if the registration form is filled out incorrectly.

Env: Linux Ubuntu 23 browser: Mozilla Firefox or Google Chrome
stand: test and prod

Steps to reproduce:

  1. Go to the stand
    
  2. Menu Settings -> authorization/registration form
    
  3. Push button REG (id="btnReg")
    
  4. Fields Nickname, Password and Email in the registration form are trash data. (For example "fds, fds, fds")
    

Screenshot from 2023-02-16 00-53-22

  1. Push button Login (id="btnRegLogin")
    

ER: Error message: "Fields filled out incorrectly". The request is not send.
AR: The request with trash data send to server. And Received a response from the server (201)
Screenshot from 2023-02-16 00-47-33

@Areso
Copy link
Owner

Areso commented Feb 15, 2023

I don't use email field actually, it's more like a "secret".
So, if a user want to restore his password, I check the field and either send email manually, or, if it's not an email (pretty often), just asking what it was.
So any values are accepted right now.
Probably I should reconsider that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants