first&last name
This commit is contained in:
@@ -22,7 +22,6 @@ export const useAuthStore = defineStore({
|
||||
this.token =result.data.access_token;
|
||||
this.name = result.data.user_name;
|
||||
localStorage.setItem('token', result.data.access_token);
|
||||
localStorage.setItem('id', result.data.user_id);
|
||||
localStorage.setItem('name', result.data.user_name);
|
||||
const config = {headers:{Authorization : 'Bearer ' + this.token}};
|
||||
const activedomain = await api.get(`http://127.0.0.1:8000/api/activedomain`,config);
|
||||
|
||||
Reference in New Issue
Block a user