Fix broken login button

This commit is contained in:
Jai A
2021-03-29 18:14:06 -07:00
parent 24c8e29691
commit e941af0905
6 changed files with 759 additions and 1 deletions

View File

@@ -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/'