to make web forms visible to the guest user

This commit is contained in:
Ameya Shenoy 2018-06-25 20:47:29 +05:30 committed by GitHub
parent 150de75faf
commit 29fcb3c9fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -484,7 +484,7 @@ def make_route_string(parameters):
delimeter = '&'
return (route_string, delimeter)
@frappe.whitelist()
@frappe.whitelist(allow_guest=True)
def get_form_data(doctype, docname, web_form_name):
out = frappe._dict()