Add changePassword method in controller and authenticated user accessor

<UserStory> AUTH004 : Change Password </UserStory>

    <Changes>
    - Added changePassword method in ZenvyController to move to AuthenticationManagementService
    - Declared changePassword in ZenvyController.h
    - Introduced getAuthenticatedUser() in DataStore for accessing authenticated employee
    - Updated DataStore.h with getAuthenticatedUser() method
    - Prepared AuthenticationManagementService.cpp for password change implementation
    </Changes>

    <Review>
    Smitha Mohan
    </Review>
This commit is contained in:
Ajmal Jalaludeen
2026-04-06 12:05:22 +05:30
committed by Joel Thomas
parent dc3a30c448
commit c2fbfa2d03
6 changed files with 25 additions and 2 deletions
@@ -10,6 +10,7 @@ void ZenvyController::logout()
{
}
void AuthenticationManagementService::changePassword()
void ZenvyController::changePassword(const std::string& password) const
{
m_authenticationManagementService->changePassword(password);
}