Changes between Initial Version and Version 1 of UseCase0002


Ignore:
Timestamp:
01/10/26 17:59:21 (10 days ago)
Author:
193284
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCase0002

    v1 v1  
     1= Use-case 0002 - User Login =
     2
     3'''Initiating actor:''' Bride / Groom (Registered user)
     4
     5'''Other actors:''' None
     6
     7== Description ==
     8The user logs into the wedding planner system using their email and personal data. The system validates the user credentials and grants access to the dashboard where the user can manage weddings, events, guests and bookings.
     9
     10== Scenario ==
     111. The user opens the login page.
     122. The system displays a login form (email + verification fields).
     133. The user enters email and submits the form.
     144. The system checks if a user with the given email exists.
     15
     16{{{
     17SET search_path TO project;
     18
     19SELECT user_id, first_name, last_name, email
     20FROM "user"
     21WHERE email = :email;
     22}}}
     23
     245. If the user exists, the system logs the user in and loads the user profile/dashboard.
     25
     26{{{
     27SET search_path TO project;
     28
     29SELECT user_id, first_name, last_name, email, phone_number, gender, birthday
     30FROM "user"
     31WHERE user_id = :user_id;
     32}}}
     33
     346. If the email does not exist, the system displays an error message: "No account found with this email."