feat: don't allow guests

This commit is contained in:
Shivam Mishra 2020-09-04 15:18:16 +05:30
parent 059ade81b2
commit 4a238a2093

View File

@ -158,7 +158,7 @@ def create_member_subscription_order(user_details):
return subscription
@frappe.whitelist(allow_guest=True)
@frappe.whitelist()
def register_member(fullname, email, rzpay_plan_id, subscription_id, pan=None, mobile=None):
plan = get_membership_type(rzpay_plan_id)
if not plan: