Skip to content

Commit

Permalink
Strip spaces out of transfer code
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsuta committed Jan 16, 2025
1 parent 540748e commit 5403bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uber/site_sections/preregistration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1546,7 +1546,7 @@ def dealer_signed_document(self, session, id):
raise HTTPRedirect(f'group_members?id={id}&message={message}')

def start_badge_transfer(self, session, message='', **params):
transfer_code = params.get('code', '')
transfer_code = params.get('code', '').strip()
transfer_badge = None

if transfer_code:
Expand Down

0 comments on commit 5403bce

Please sign in to comment.