usePrivateInformationAgree is added

This commit is contained in:
병준 박 2019-11-28 14:02:07 +09:00
parent 0a9e3bc84c
commit 3fd92b2df5
4 changed files with 18 additions and 3 deletions

View File

@ -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,

View File

@ -19,7 +19,10 @@ export const environment: Environment = {
productConfig: {
productId: 'PRO_000482',
productName: 'EZMessenger'
productName: 'EZMessenger',
authentication: {
usePrivateInformationAgree: false
}
},
commonApiModuleConfig: {

View File

@ -19,7 +19,10 @@ export const environment: Environment = {
productConfig: {
productId: 'PRO_000482',
productName: 'EZMessenger'
productName: 'EZMessenger',
authentication: {
usePrivateInformationAgree: false
}
},
commonApiModuleConfig: {

View File

@ -38,6 +38,9 @@ export interface Environment {
productConfig: {
productId: string;
productName: string;
authentication: {
usePrivateInformationAgree: boolean;
};
};
commonApiModuleConfig: CommonApiModuleConfig;