Move assignment back to initArkoseLabs method

parent 2b6a11a0
......@@ -121,7 +121,6 @@ export default {
data: { result },
} = await needsArkoseLabsChallenge(this.username);
if (result) {
this.arkoseInitialized = true;
await this.initArkoseLabs();
}
} catch (e) {
......@@ -140,6 +139,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