예제 #1
0
파일: display.py 프로젝트: hennogous/indico
    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))
예제 #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))
예제 #3
0
파일: display.py 프로젝트: chernals/indico
    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))
예제 #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))