CSR-1392
No need for this logic. token is persisted in customerportallogintoken table and is pulled from there now in the api on final submit
This commit is contained in:
parent
be2a0f4004
commit
621c1423f8
1 changed files with 1 additions and 8 deletions
|
|
@ -1039,14 +1039,7 @@ export const actions = {
|
|||
context.commit(storeMutations.UPDATE_CRM_CUSTOMER_ID, crmCustomerId);
|
||||
context.commit(storeMutations.WORK_ORDER_NUMBER, workOrderNumber);
|
||||
context.commit(storeMutations.LOCK_TOKEN, lockToken);
|
||||
|
||||
// if we already have the token, do not update it. pia does 2 work order submits and the value is not persisted after the first submit
|
||||
if (
|
||||
state.order.customerPortalLoginToken != null &&
|
||||
state.order.customerPortalLoginToken != "00000000-0000-0000-0000-000000000000"
|
||||
) {
|
||||
context.commit(storeMutations.Customer_Portal_Login_Token, customerPortalLoginToken);
|
||||
}
|
||||
context.commit(storeMutations.Customer_Portal_Login_Token, customerPortalLoginToken);
|
||||
},
|
||||
|
||||
logPageView(
|
||||
|
|
|
|||
Loading…
Reference in a new issue