Skip to content

Commit 27150ed

Browse files
authored
Orders API: Remove verified user constraint (fossasia#5548)
1 parent 25b30f6 commit 27150ed

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/api/orders.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ def before_post(self, args, kwargs, data=None):
5050
"""
5151
require_relationship(['event'], data)
5252

53-
if not current_user.is_verified:
54-
raise ForbiddenException({'source': ''},
55-
"Only verified accounts can place orders")
56-
5753
# Create on site attendees.
5854
if request.args.get('onsite', False):
5955
create_onsite_attendees_for_order(data)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy