Skip to content

Commit

Permalink
fix(Nabu): link user walletInfo with nabu on login
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Sep 11, 2019
1 parent 85f10f2 commit 226c0d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export default ({ api, coreSagas }) => {
)).getOrElse(false)
if (userFlowSupported) yield put(actions.modules.profile.signIn())
}

const loginRoutineSaga = function * (mobileLogin, firstLogin) {
try {
// If needed, the user should upgrade its wallet before being able to open the wallet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export default ({ api, coreSagas, networks }) => {
try {
yield delay(renewIn)
yield call(setSession, userId, lifetimeToken, email, guid)
yield fork(syncUserWithWallet)
} catch (e) {
yield put(A.setApiTokenFailure(e))
yield spawn(
Expand Down

0 comments on commit 226c0d0

Please sign in to comment.