X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fjavascripts%2Futils%2Fvalidation.js;h=625fb42742a1243029ac15766eeb97eb3a44b3ad;hb=db5571d67f6b6b3b841fa1eeaf2099cecf2bcffc;hp=aa39ebeba0f9544afaef30815de1eecf4c0a56f0;hpb=29c8b391bcdf6ffca53545178e2ad194287a1bdc;p=qomet.git diff --git a/public/javascripts/utils/validation.js b/public/javascripts/utils/validation.js index aa39ebe..625fb42 100644 --- a/public/javascripts/utils/validation.js +++ b/public/javascripts/utils/validation.js @@ -42,7 +42,6 @@ Validator.Assessment = { "display": "alphanumeric", //"one" or "all" "time": "integer", "introduction": "string", - "conclusion": "string", "coefficient": "number", "questions": Validator.Question, "papers": Validator.Paper, @@ -51,7 +50,6 @@ Validator.Assessment = { Validator.User = { "_id": "bson", "email": "email", - "forename": "name", "name": "name", "initials": "unchecked", //not a user input "loginToken": "unchecked", @@ -61,7 +59,6 @@ Validator.User = { Validator.Student = { "number": "code", - "forename": "name", "name": "name", "group": "positiveInteger", };