wiki:UseCase2

Use-case 2 – User Login

Initiating actor: Guest
Other actors: /

The guest user wants to log in to the system. The system checks if the provided email exists, verifies the password, and if valid, logs the user into the system. The logged in user has access to more functionalities.

Scenario

Step 1. User click LOGIN button.
Step 2. User enters username and password.
Step 3. System validates credentials.

SELECT id, username, email, password
FROM users
WHERE username = 'provided_username'
LIMIT 1;

Step 4. If the credentials are valid, the user is logged in and now has access to more functionalities, else the system displays an error message.

Last modified 25 hours ago Last modified on 12/27/25 16:20:18

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.