Merge branch 'masto-register-app-secret' into shigusegubu
* masto-register-app-secret: fix
This commit is contained in:
commit
ec038b8062
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ const setConfig = async ({ store }) => {
|
|||
|
||||
const checkOAuthToken = async ({ store }) => {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
if (store.state.oauth.userToken) {
|
||||
if (store.getters.getUserToken()) {
|
||||
try {
|
||||
await store.dispatch('loginUser', store.getters.getUserToken())
|
||||
} catch (e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue