You've already forked AstralRinth
forked from didirus/AstralRinth
Fix auth again
This commit is contained in:
@@ -54,8 +54,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
async logout() {
|
||||
this.$auth.user = null
|
||||
this.$cookies.remove('auth-token')
|
||||
this.$cookies.set('auth-token-reset', true)
|
||||
await this.$router.replace(
|
||||
'https://api.modrinth.com/api/v1/auth/init?url=https://modrinth.com/'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user