Skip to content
Snippets Groups Projects
Commit b02085f2 authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

Merge branch 'issue-450-user-data-populate' into 'develop'

#450 - dispatch login after saved state is loaded

Closes #450

See merge request !701
parents 57b82e92 31d09931
No related branches found
No related tags found
2 merge requests!1028`master` refresh with `develop`,!701#450 - dispatch login after saved state is loaded
Pipeline #9410 passed
......@@ -60,6 +60,9 @@ export default function createPersistedState ({
merge({}, store.state, savedState)
)
}
if (store.state.oauth.token) {
store.dispatch('loginUser', store.state.oauth.token)
}
loaded = true
} catch (e) {
console.log("Couldn't load state")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment