Closed milkowska closed 1 year ago
Currently the user collection contains only one user: This user can log in if the credentials are entered correctly (email and a password).
to verify that the user is being authenticated, a new email and password that have not been previously registered are entered on the login page:
The toast message appears saying "Wrong credentials. Try again!"
I have added a message that logcat displays that says what was invalid.
TODO I think the UI should be improved when the credentials are wrong, for instance, the text fields could be marked as red etc. This will probably be added over the next few weeks.
To check if the credentials that user enters are valid there should be a message displaying if the login is not successful. if it is, the user can log in (and then log out).