Fix auth login (#1074)
This commit is contained in:
parent
ccf81ff7b9
commit
a37210b22e
@ -413,9 +413,10 @@ export default defineNuxtComponent({
|
|||||||
this.runAnalytics()
|
this.runAnalytics()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
async mounted() {
|
||||||
this.runAnalytics()
|
this.runAnalytics()
|
||||||
if (this.$route.query.code) {
|
if (this.$route.query.code) {
|
||||||
|
await useAuth(this.$route.query.code)
|
||||||
window.history.replaceState(history.state, null, this.$route.path)
|
window.history.replaceState(history.state, null, this.$route.path)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
"eslint": "^8.33.0",
|
"eslint": "^8.33.0",
|
||||||
"eslint-config-prettier": "^8.6.0",
|
"eslint-config-prettier": "^8.6.0",
|
||||||
"eslint-plugin-vue": "^9.9.0",
|
"eslint-plugin-vue": "^9.9.0",
|
||||||
"nuxt": "^3.3.2",
|
"nuxt": "^3.3.3",
|
||||||
"prettier": "^2.8.3",
|
"prettier": "^2.8.3",
|
||||||
"sass": "^1.58.0",
|
"sass": "^1.58.0",
|
||||||
"typescript": "^4.9.5",
|
"typescript": "^4.9.5",
|
||||||
|
|||||||
@ -31,8 +31,8 @@
|
|||||||
:key="project.id"
|
:key="project.id"
|
||||||
:name="project.title"
|
:name="project.title"
|
||||||
:description="project.description"
|
:description="project.description"
|
||||||
:created-at="project.published"
|
:created-at="project.queued"
|
||||||
:updated-at="project.updated"
|
:updated-at="project.queued"
|
||||||
:icon-url="project.icon_url"
|
:icon-url="project.icon_url"
|
||||||
:categories="project.categories"
|
:categories="project.categories"
|
||||||
:client-side="project.client_side"
|
:client-side="project.client_side"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user