mirror of
https://github.com/opensupports/opensupports.git
synced 2025-08-19 00:39:27 +02:00
Add result data staff in get user data in auto login.
This commit is contained in:
parent
d72aec3976
commit
a46140381b
@ -58,7 +58,7 @@ export default {
|
||||
remember: 1,
|
||||
}
|
||||
}).then((result) => {
|
||||
store.dispatch(this.getUserData(result.data.userId, result.data.token));
|
||||
store.dispatch(this.getUserData(result.data.userId, result.data.token, result.data.staff));
|
||||
|
||||
return result;
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user