usePrivateInformationAgree is added
This commit is contained in:
parent
0a9e3bc84c
commit
3fd92b2df5
|
@ -60,6 +60,8 @@ import {
|
|||
import { KEY_LOGIN_RES_INFO } from '@app/types/login-res-info.type';
|
||||
import { ProtocolService } from '@ucap-webmessenger/protocol';
|
||||
|
||||
import { environment } from '../../../../environments/environment';
|
||||
|
||||
@Injectable()
|
||||
export class Effects {
|
||||
webLogin$ = createEffect(() =>
|
||||
|
@ -201,7 +203,11 @@ export class Effects {
|
|||
EnvironmentsInfo
|
||||
>(KEY_ENVIRONMENTS_INFO);
|
||||
|
||||
if (!loginRes.privateInformationAgree) {
|
||||
if (
|
||||
environment.productConfig.authentication
|
||||
.usePrivateInformationAgree &&
|
||||
!loginRes.privateInformationAgree
|
||||
) {
|
||||
const privacyTotalUrl = this.piService.privacyTotalUrl({
|
||||
companyCode: loginInfo.companyCode,
|
||||
userSeq: loginRes.userSeq,
|
||||
|
|
|
@ -19,7 +19,10 @@ export const environment: Environment = {
|
|||
|
||||
productConfig: {
|
||||
productId: 'PRO_000482',
|
||||
productName: 'EZMessenger'
|
||||
productName: 'EZMessenger',
|
||||
authentication: {
|
||||
usePrivateInformationAgree: false
|
||||
}
|
||||
},
|
||||
|
||||
commonApiModuleConfig: {
|
||||
|
|
|
@ -19,7 +19,10 @@ export const environment: Environment = {
|
|||
|
||||
productConfig: {
|
||||
productId: 'PRO_000482',
|
||||
productName: 'EZMessenger'
|
||||
productName: 'EZMessenger',
|
||||
authentication: {
|
||||
usePrivateInformationAgree: false
|
||||
}
|
||||
},
|
||||
|
||||
commonApiModuleConfig: {
|
||||
|
|
|
@ -38,6 +38,9 @@ export interface Environment {
|
|||
productConfig: {
|
||||
productId: string;
|
||||
productName: string;
|
||||
authentication: {
|
||||
usePrivateInformationAgree: boolean;
|
||||
};
|
||||
};
|
||||
|
||||
commonApiModuleConfig: CommonApiModuleConfig;
|
||||
|
|
Loading…
Reference in New Issue
Block a user