Skip to content

Commit

Permalink
Merge pull request #116 from k2maan/single-login-poc
Browse files Browse the repository at this point in the history
Removed: authenticate action from authStore
  • Loading branch information
adityasharma7 authored Jul 28, 2023
2 parents 6a053e9 + 5d7a2b0 commit f9a72f4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/store/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,5 @@ export const useAuthStore = defineStore('userAuth', {
return state.token.value && !isTokenExpired
}
},
actions: {
// TODO will be done once backend support is there
async authenticate() {
// try {
// // authenticate through cookies
// return this.token
// } catch (error) {
// console.log(error)
// }
}
},
persist: true
})

0 comments on commit f9a72f4

Please sign in to comment.