Example #1
0
    def _process(self):
        email = request.args["email"].lower().strip()
        update = request.args.get("update")
        management = request.args.get("management") == "1"

        if update:
            existing = self.regform.get_registration(uuid=update)
            return jsonify(check_registration_email(self.regform, email, existing, management=management))
        else:
            return jsonify(check_registration_email(self.regform, email, management=management))
Example #2
0
    def _process(self):
        email = request.args['email'].lower().strip()
        update = request.args.get('update')
        management = request.args.get('management') == '1'

        if update:
            existing = self.regform.get_registration(uuid=update)
            return jsonify(check_registration_email(self.regform, email, existing, management=management))
        else:
            return jsonify(check_registration_email(self.regform, email, management=management))
Example #3
0
    def _process(self):
        email = request.args['email'].lower().strip()
        update = request.args.get('update')
        management = request.args.get('management') == '1'

        if update:
            existing = self.regform.get_registration(uuid=update)
            return jsonify(
                check_registration_email(self.regform,
                                         email,
                                         existing,
                                         management=management))
        else:
            return jsonify(
                check_registration_email(self.regform,
                                         email,
                                         management=management))
Example #4
0
 def _process(self):
     if self.update:
         return jsonify(check_registration_email(self.regform, self.email, self.existing_registration,
                                                 management=self.management))
     else:
         return jsonify(check_registration_email(self.regform, self.email, management=self.management))