OspreyFly / fuzzy-phids-frontend

0 stars 0 forks source link

Attempting to login with non-existent user causes blank screen #9

Closed CodyTVWeber closed 1 month ago

CodyTVWeber commented 2 months ago

Looks like after attempting to login to non-existent user, there is a malformed JSX.

Steps to reproduce:

  1. Navigate to login page
  2. Type in "somenonexistentuser" in username field
  3. Type in "anything" in password field
  4. Click login

image

OspreyFly commented 2 months ago

I use the username from the form data to search the database for the user. If it fails, it sets the error state accordingly.

CodyTVWeber commented 1 month ago

Fixed