* method) and records the password change in user's password history.
* <p>
* @param user User instance with updated password
+ * @param baseUrl Base URL for all links
* <p>
* @return Password history entry with updated user instance
*
* @throws UserStatusUnconfirmedException If the user status is unconfirmed
* @throws UserStatusLockedException If the user status is locked
*/
- PasswordHistory updateUserPassword (final User user) throws UserNotFoundException, UserStatusUnconfirmedException, UserStatusLockedException;
+ PasswordHistory updateUserPassword (final User user, final String baseUrl) throws UserNotFoundException, UserStatusUnconfirmedException, UserStatusLockedException;
/**
* Changes the user' account status to CONFIRMED if the status is