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:
@@ -10,6 +10,7 @@ void ZenvyController::logout()
|
||||
{
|
||||
}
|
||||
|
||||
void AuthenticationManagementService::changePassword()
|
||||
void ZenvyController::changePassword(const std::string& password) const
|
||||
{
|
||||
m_authenticationManagementService->changePassword(password);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user