Skip to content

Contestant can be added without filling in name and password fields #6

@LuxMage

Description

@LuxMage

Describe the bug
A contestant can be added to the database without typing anything into the name and password fields.

To Reproduce
Steps to reproduce the behavior:

  1. Login as a judge
  2. Go to edit contestants
  3. If contestant information is in the name and password fields, click on "new"
  4. Click Submit

Expected behavior
An error appears that tells the user to enter information.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • PHP Version: 7.2.24

Additional context
This may not necessarily be a bug, but I think that it is unintended behavior. Also, if a contestant with blank fields is added, then someone can successfully log in using blank login fields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions