Commit c0559472 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #17109 TIME 1:30 fix role for otp mode

parent cde0133a
......@@ -480,8 +480,8 @@
"phoneAlt": "Mobile",
"sms": "SMS",
"source": "Source",
"otp_visa_yousignUser": "viseur (yousign)",
"otp_sign_yousignUser": "signataire (yousign)",
"otp_visa_yousignUser": "Viseur (Yousign)",
"otp_sign_yousignUser": "Signataire (Yousign)",
"role": "Role",
"otpMsg": "L'utilisateur sera notifié par <b>courriel</b> et recevra un <b>code de sécurité</b> par <b>{{security}}</b> au moment de son tour dans le circuit.",
"manage_otp_connectorsAdmin": "Administrer les connecteurs OTP",
......@@ -522,7 +522,6 @@
"manage_customizationAdmin": "Personnaliser la page de connexion",
"internalUserOtpMsg": "<b>{{user}}</b> sera converti en utilisateur externe, vous ne pourrez plus choisir les autres modes de signature.",
"externalUser": "Role externe",
"visa_yousignUser": "Viseur (Yousign)",
"sign_yousignUser": "Signataire (Yousign)"
"external": "Externe"
}
}
......@@ -20,7 +20,7 @@ export class OtpYousignComponent implements OnInit {
securityModes: any[] = [];
roles: any[] = ['visa_yousign', 'sign_yousign'];
roles: any[] = ['otp_visa_yousign', 'otp_sign_yousign'];
otp: any = {
type: 'yousign',
......@@ -29,7 +29,7 @@ export class OtpYousignComponent implements OnInit {
email: '',
phone: '',
security: 'sms',
role: 'sign_yousign',
role: 'otp_sign_yousign',
sourceId: '',
modes: this.roles
};
......
......@@ -106,11 +106,6 @@ export class AuthGuard implements CanActivate {
'id': 'visa',
'type': 'visa',
'color': '#135F7F'
},
{
'id': 'sign',
'type': 'sign',
'color': '#135F7F'
}
];
this.authService.signatureRoles = this.authService.signatureRoles.concat(dataModes.map((item: any) => ({
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment