Mahmut Gundogdu
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
npm/ng-packs/packages/oauth/src/lib/providers/navigate-to-manage-profile.provider.ts
|
|
|
@ -12,10 +12,10 @@ export const NavigateToManageProfileProvider: Provider = { |
|
|
|
console.warn('The oAuthConfig env is missing on environment.ts'); |
|
|
|
return; |
|
|
|
} |
|
|
|
window.open( |
|
|
|
`${env.oAuthConfig.issuer}/Account/Manage?returnUrl=${window.location.href}`, |
|
|
|
'_self', |
|
|
|
); |
|
|
|
|
|
|
|
const { issuer } = env.oAuthConfig; |
|
|
|
const path = issuer.endsWith('/') ? issuer : `${issuer}/`; |
|
|
|
window.open(`${path}Account/Manage?returnUrl=${window.location.href}`, '_self'); |
|
|
|
}; |
|
|
|
}, |
|
|
|
}; |
|
|
|
|