Browse Source

remove unknown method

pull/342/head
Guillaume Vincent 8 years ago
parent
commit
ed7ee3089a
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      src/services/auth.js

+ 1
- 4
src/services/auth.js View File

@@ -38,14 +38,11 @@ export default {
return token
});
},
gu() {
return this.user.authenticated
},
authUser(token){
this.localStorage.setItem('token', token);
this.user.authenticated = true;
},
resetAuth(e){
resetAuth(err){
this.localStorage.removeItem('token');
this.user.authenticated = false;
throw err;


Loading…
Cancel
Save