copious-transitions
Version:
Framework for working with frameworks
24 lines (15 loc) • 539 B
JavaScript
const {GeneralValidator} = require("../../index")
class CaptchaValidator extends GeneralValidator {
constructor() {
super()
this.self = this
}
//
prepare_tests() { // application specific not in the conf ... may be in the db .. add to the field_set object of the GeneralValidator
// ADD IN A CAPTCHA VALIDATION...
//
// load application fields
// this.application_tests = {} // each applicaton has to set up its own
}
}
module.exports = new CaptchaValidator()