Skip to content

Commit

Permalink
Ana/fix session per network (#3354)
Browse files Browse the repository at this point in the history
* fix

* changelog
  • Loading branch information
Bitcoinera authored and faboweb committed Dec 23, 2019
1 parent 5072210 commit 0474a8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/ana_fix-session-per-network
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[Fixed] [#3354](https://github.com/cosmos/lunie/pull/3354) Fix session per network so it signs in to the current network @Bitcoinera
2 changes: 1 addition & 1 deletion src/vuex/modules/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export default function ({ apollo }) {
async setNetwork({ commit, dispatch }, network) {
dispatch(`signOut`)
dispatch(`persistNetwork`, network)
dispatch(`checkForPersistedSession`) // check for persisted session on that network
commit("setNetworkId", network.id)
dispatch(`checkForPersistedSession`) // check for persisted session on that network
console.info(`Connecting to: ${network.id}`)
}
}
Expand Down

0 comments on commit 0474a8d

Please sign in to comment.