Skip to content

Commit

Permalink
Update tenant domain
Browse files Browse the repository at this point in the history
  • Loading branch information
SujanSanjula96 committed Jan 8, 2025
1 parent 584686e commit 7707da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/myaccount/src/api/change-password.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const updatePassword = (currentPassword: string, newPassword: string, isS
// See https://github.com/asgardio/asgardio-js-oidc-sdk/issues/45 for progress.
// httpRequest.disableHandler();

const tenantDomain = isSubOrgUser ? userOrganizationId : store.getState().config.tenantDomain;
const tenantDomain = isSubOrgUser ? userOrganizationId : store.getState().authenticationInformation.tenantDomain;
const username: string = [
store.getState().authenticationInformation?.profileInfo.userName,
"@",
Expand Down

0 comments on commit 7707da0

Please sign in to comment.