@ -898,6 +898,7 @@ def invalidate_token(refresh_token):
for d in doc_details:
if decrypt(d['refresh_token']) == ref_token:
frappe.delete_doc('Refresh Token', d['name'])
generate_access_token(d['name'])
return {'status': 1, "error": None}