Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashmini committed Sep 15, 2023
1 parent 6162e8a commit 8cc2732
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ public PasswordResetCodeDTO confirm(String otp, String confirmationCode, String
} catch (IdentityRecoveryException e) {
// This is a fallback logic to support already initiated email link based recovery flows using the
// recovery V1 API, which do not have recovery flow ids.
UserRecoveryData userRecoveryData = userAccountRecoveryManager
.getUserRecoveryDataFromConfirmationCode(recoveryFlowId, recoveryFlowId, RecoverySteps.UPDATE_PASSWORD);
UserRecoveryData userRecoveryData = userAccountRecoveryManager.getUserRecoveryDataFromConfirmationCode(
recoveryFlowId, recoveryFlowId, RecoverySteps.UPDATE_PASSWORD);
if (!tenantDomain.equals(userRecoveryData.getUser().getTenantDomain())) {
throw Utils.handleClientException(
IdentityRecoveryConstants.ErrorMessages.ERROR_CODE_USER_TENANT_DOMAIN_MISS_MATCH_WITH_CONTEXT,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,8 @@ public User updateUserPassword(String code, String confirmationCode, String pass
} catch (IdentityRecoveryException e) {
// This is a fallback logic to support already initiated email link based recovery flows using the
// recovery V1 API, which do not have recovery flow ids.
userRecoveryData = userAccountRecoveryManager.getUserRecoveryDataFromConfirmationCode(code, confirmationCode,
RecoverySteps.UPDATE_PASSWORD);
userRecoveryData = userAccountRecoveryManager.getUserRecoveryDataFromConfirmationCode(code,
confirmationCode, RecoverySteps.UPDATE_PASSWORD);
validateCallback(properties, userRecoveryData.getUser().getTenantDomain());
publishEvent(userRecoveryData.getUser(), null, code, password, properties,
IdentityEventConstants.Event.PRE_ADD_NEW_PASSWORD, userRecoveryData);
Expand Down

0 comments on commit 8cc2732

Please sign in to comment.