diff --git a/frontend/src/utils/auth.js b/frontend/src/utils/auth.js index ae050ba3..7ae6c1fe 100644 --- a/frontend/src/utils/auth.js +++ b/frontend/src/utils/auth.js @@ -12,10 +12,6 @@ export function parseToken (token) { const data = JSON.parse(Base64.decode(parts[1])) - if (Math.round(new Date().getTime() / 1000) > data.exp) { - throw new Error('token expired') - } - localStorage.setItem('jwt', token) store.commit('setJWT', token) store.commit('setUser', data.user)