mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
feat: don't allow guests
This commit is contained in:
@@ -158,7 +158,7 @@ def create_member_subscription_order(user_details):
|
|||||||
|
|
||||||
return subscription
|
return subscription
|
||||||
|
|
||||||
@frappe.whitelist(allow_guest=True)
|
@frappe.whitelist()
|
||||||
def register_member(fullname, email, rzpay_plan_id, subscription_id, pan=None, mobile=None):
|
def register_member(fullname, email, rzpay_plan_id, subscription_id, pan=None, mobile=None):
|
||||||
plan = get_membership_type(rzpay_plan_id)
|
plan = get_membership_type(rzpay_plan_id)
|
||||||
if not plan:
|
if not plan:
|
||||||
|
|||||||
Reference in New Issue
Block a user