As a visitor,
I want to register in the system.
returns the User entity and jwt token.
| AC-1 | Page is available at /auth/signup |
|---|---|
| AC-1.1 | Only unauthorised users can see this page |
| AC-2 | Can enter email and password |
| AC-2.1 | Password input is protected by default, but this can be changed with eye icon |
| AC-2.2 | Validate that email and password are not empty |
| AC-2.3 | Field autocomplete by browser should not affect styles |
| AC-3 | Show additional error messages from BE |
| AC-3.1 | If the entered email is already used |
| AC-3.2 | If email is not valid |
| AC-3.3 | If password does not meet minimum requirements |