Fix auth login (#1074)
This commit is contained in:
parent
ccf81ff7b9
commit
a37210b22e
@ -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)
|
||||
}
|
||||
},
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
"eslint": "^8.33.0",
|
||||
"eslint-config-prettier": "^8.6.0",
|
||||
"eslint-plugin-vue": "^9.9.0",
|
||||
"nuxt": "^3.3.2",
|
||||
"nuxt": "^3.3.3",
|
||||
"prettier": "^2.8.3",
|
||||
"sass": "^1.58.0",
|
||||
"typescript": "^4.9.5",
|
||||
|
||||
@ -31,8 +31,8 @@
|
||||
:key="project.id"
|
||||
:name="project.title"
|
||||
:description="project.description"
|
||||
:created-at="project.published"
|
||||
:updated-at="project.updated"
|
||||
:created-at="project.queued"
|
||||
:updated-at="project.queued"
|
||||
:icon-url="project.icon_url"
|
||||
:categories="project.categories"
|
||||
:client-side="project.client_side"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user