Browse Source

fix i am smart bug

CR003
Anna Ho 1 year ago
parent
commit
f43c78838d
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/pages/iAmSmart/AuthCallback/index.js
  2. +2
    -2
      src/pages/iAmSmart/DirectLoginCallback/index.js

+ 2
- 2
src/pages/iAmSmart/AuthCallback/index.js View File

@@ -45,8 +45,8 @@ const Index = () => {
role: responseData.role, role: responseData.role,
abilities: responseData.abilities, abilities: responseData.abilities,
creditor: responseData.creditor, creditor: responseData.creditor,
passwordExpiryDate: response.data.passwordExpiryDate,
orgPaymentRecord: response.data.orgPaymentRecord,
passwordExpiryDate: responseData.passwordExpiryDate,
orgPaymentRecord: responseData.orgPaymentRecord,
//locale: responseData.preferLocale, //locale: responseData.preferLocale,
//avatar: require('src/assets/images/users/avatar-3.png').default, //avatar: require('src/assets/images/users/avatar-3.png').default,
} }


+ 2
- 2
src/pages/iAmSmart/DirectLoginCallback/index.js View File

@@ -45,8 +45,8 @@ const Index = () => {
role: responseData.role, role: responseData.role,
abilities: responseData.abilities, abilities: responseData.abilities,
creditor: responseData.creditor, creditor: responseData.creditor,
passwordExpiryDate: response.data.passwordExpiryDate,
orgPaymentRecord: response.data.orgPaymentRecord,
passwordExpiryDate: responseData.passwordExpiryDate,
orgPaymentRecord: responseData.orgPaymentRecord,
//avatar: require('src/assets/images/users/avatar-3.png').default, //avatar: require('src/assets/images/users/avatar-3.png').default,
} }
const data = { ...userData, accessToken: responseData.accessToken, refreshToken: responseData.refreshToken } const data = { ...userData, accessToken: responseData.accessToken, refreshToken: responseData.refreshToken }


Loading…
Cancel
Save