change username to user
This commit is contained in:
@@ -17,7 +17,7 @@ export default boot(async ({ app }) => {
|
||||
useStore
|
||||
.setUser({
|
||||
id: resp.data.id,
|
||||
username: resp.data.username,
|
||||
user: resp.data.username,
|
||||
role: { role: resp.data.role, permissions: [] },
|
||||
})
|
||||
.catch((err) => console.error(err));
|
||||
|
||||
Reference in New Issue
Block a user