Skip to content

Commit

Permalink
BACKPORT Fix email check update arg
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster authored and tomako committed Apr 8, 2024
1 parent ad63289 commit f66c977
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indico/modules/events/registration/controllers/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
from indico.modules.users.util import send_avatar, send_default_avatar
from indico.util.fs import secure_filename
from indico.util.i18n import _
from indico.util.marshmallow import UUIDString
from indico.web.args import use_kwargs
from indico.web.flask.util import send_file, url_for

Expand Down Expand Up @@ -258,7 +259,7 @@ class RHRegistrationFormCheckEmail(RHRegistrationFormBase):

@use_kwargs({
'email': fields.String(required=True),
'update': fields.Bool(load_default=False),
'update': UUIDString(load_default=None),
'management': fields.Bool(load_default=False),
}, location='query')
def _process_args(self, email, update, management):
Expand Down

0 comments on commit f66c977

Please sign in to comment.