Browse Source

Deactivate account

master
venkataakhil 1 year ago
parent
commit
85470e8fe0
  1. 2
      smart_service/apis/app_user_login.py

2
smart_service/apis/app_user_login.py

@ -919,7 +919,7 @@ def invalidate_token(refresh_token):
@frappe.whitelist(methods=['POST']) @frappe.whitelist(methods=['POST'])
def deactivate_account(): def deactivate_account(refresh_token):
rate_res = custom_rate_limit(limit=5, seconds=15) rate_res = custom_rate_limit(limit=5, seconds=15)
if rate_res != 1: if rate_res != 1:
return rate_res return rate_res

Loading…
Cancel
Save