Closed advweb-grp1 closed 1 year ago
Reference the page design in #3 for the login page.
Login will be authenticated via Firebase.
Will need a Login form component - to capture the user's username and password
"The system may abandon login after 5 unsuccessful attempts." line doesn't specify what is the mechanism to get the user back to being able to log back in? May just be a time out of 30 mins then allow them to log back in?
For route guards, I should hide the nav items so that only logged in users can see the query button for example. This will require a change to the nav bar component
Need to also implement log out button as well once logged in.
A user must login to the system to access data, add or delete data.
Basic path
Alternative Paths
Step 4: If username is invalid, the use case goes back to step 2.
Step 4: If the password is invalid, the system requests that the user re-enter the password. When the user enters another password, the use case continues with step 4 using the original username and new password.
Exception Paths
The system may abandon login after 5 unsuccessful attempts.
Preconditions
The user is registered. The username is the user’s email address.
Postconditions
The user can now add data, delete data, query data and visualise data.