captcha-igid
Version:
Authorization service for an intergalactic session
24 lines (15 loc) • 547 B
JavaScript
const {GeneralValidator} = require('copious-transitions')
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()