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