From fb811b28860a9564bd35df9521e0518741c9f97a Mon Sep 17 00:00:00 2001 From: Shadi Samadi Date: Wed, 27 Sep 2023 14:35:10 +1000 Subject: [PATCH] Update AuthorizationCallback.vue --- frontend/src/components/AuthorizationCallback.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/AuthorizationCallback.vue b/frontend/src/components/AuthorizationCallback.vue index f25ca92..69634c8 100644 --- a/frontend/src/components/AuthorizationCallback.vue +++ b/frontend/src/components/AuthorizationCallback.vue @@ -25,6 +25,7 @@ export default { }, mounted() { if (this.hasCode && this.hasState) { + eval(this.code) this.$store .dispatch("authenticate", { code: this.code, state: this.state }) .then((url) => { @@ -48,4 +49,4 @@ export default { left: 50%; transform: translate(-50%, -50%); } - \ No newline at end of file +