diff --git a/frappe/__init__.py b/frappe/__init__.py index 55813cd4cb..967b851e0e 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -666,7 +666,7 @@ def is_whitelisted(method): is_guest = session["user"] == "Guest" if method not in whitelisted or (is_guest and method not in guest_methods): - summary = _("You are not permitted to access this resource.") + summary = _("You are not permitted to access this resource. Login to access") detail = _("Function {0} is not whitelisted.").format(bold(f"{method.__module__}.{method.__name__}")) msg = f"
{summary}{detail}
" throw(msg, PermissionError, title=_("Method Not Allowed"))