You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Login as a judge
Go to edit contestants
If contestant information is in the name and password fields, click on "new"
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.