Legal info
This commit is contained in:
@@ -25,14 +25,14 @@ const getters = {
|
||||
if (now > exp) return false;
|
||||
return true;
|
||||
},
|
||||
name(state, getters) {
|
||||
if (!getters.isValid) return null;
|
||||
return state.tokenData.name;
|
||||
},
|
||||
email(state, getters) {
|
||||
if (!getters.isValid) return null;
|
||||
return state.tokenData.email;
|
||||
},
|
||||
userId(state, getters) {
|
||||
if (!getters.isValid) return null;
|
||||
return state.tokenData.email;
|
||||
},
|
||||
};
|
||||
|
||||
// actions
|
||||
|
Reference in New Issue
Block a user