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