Legal info

This commit is contained in:
Nadegamra
2021-09-09 22:08:17 +03:00
parent b447434a47
commit 99a978dede
10 changed files with 234 additions and 1209 deletions

View File

@@ -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