You've already forked AstralRinth
forked from didirus/AstralRinth
Fix auth login (#1074)
This commit is contained in:
@@ -413,9 +413,10 @@ export default defineNuxtComponent({
|
||||
this.runAnalytics()
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
async mounted() {
|
||||
this.runAnalytics()
|
||||
if (this.$route.query.code) {
|
||||
await useAuth(this.$route.query.code)
|
||||
window.history.replaceState(history.state, null, this.$route.path)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user