Preclinify / Tickets

2 stars 0 forks source link

[BUG] Invalid password in sign up handled wrongly #24

Closed choco-green closed 2 months ago

choco-green commented 4 months ago

Describe the bug

When signing up, a length of at least 6 is required from the user, however the route pushes to login even if this isn't achieved. Further, the toast indicates that it is both a successful operation and an unsuccessful operation

highjeans commented 2 months ago

I just tested this by using another email of mine with a password with 3 characters, and 1. the route doesn't push to login and 2. the toast only shows the unsuccessful operation.

highjeans commented 2 months ago

@Joecey For me to do this ticket, I would need to change a function in the AuthenticationForm component, which @choco-green is going to make changes to at some point. Should I wait for him to make those changes or should I go ahead and finish this ticket?

Joecey commented 2 months ago

Better to consult @choco-green but I think you can go ahead and finish the ticket. No active branch from his end ATM so fire away 👌

highjeans commented 2 months ago

Closes #64