Commit 7fdbc180 authored by Paul Gascou-Vaillancourt's avatar Paul Gascou-Vaillancourt Committed by Paul Gascou-Vaillancourt

Move arkoseInitialized assignment to initArkoseLabs

parent 03071ef3
......@@ -108,8 +108,6 @@ export default {
} = await needsArkoseLabsChallenge(this.username);
if (result) {
this.arkoseInitialized = true;
await this.initArkoseLabs();
}
} catch (e) {
......@@ -123,6 +121,8 @@ export default {
}
},
async initArkoseLabs() {
this.arkoseInitialized = true;
const enforcement = await initArkoseLabsScript({ publicKey: this.publicKey });
enforcement.setConfig({
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment