From: Benjamin Auder Date: Wed, 19 Dec 2018 22:11:21 +0000 (+0100) Subject: Very basic anti-bot strategy for problems upload: do not pre-generate FEN X-Git-Url: https://git.auder.net/js/css/assets/current/git-logo.png?a=commitdiff_plain;h=77fa6d1fe6306f1f9dcd3c363bba8965b602d237;p=vchess.git Very basic anti-bot strategy for problems upload: do not pre-generate FEN --- diff --git a/public/javascripts/components/problems.js b/public/javascripts/components/problems.js index 9117ebfc..d9265a36 100644 --- a/public/javascripts/components/problems.js +++ b/public/javascripts/components/problems.js @@ -3,7 +3,7 @@ Vue.component('my-problems', { return { problems: problemArray, //initial value newProblem: { - fen: V.GenRandInitFen(), + fen: "", instructions: "", solution: "", stage: "nothing", //or "preview" after new problem is filled @@ -27,7 +27,8 @@ Vue.component('my-problems', {
- +

Safe HTML tags allowed