diff --git a/lms/overrides/user.py b/lms/overrides/user.py index 6cad679a..b92366b4 100644 --- a/lms/overrides/user.py +++ b/lms/overrides/user.py @@ -300,7 +300,7 @@ def on_session_creation(login_manager): frappe.local.response["home_page"] = "/courses" -@frappe.whitelist(allow_guest=True) +@frappe.whitelist() def search_users(start=0, text=""): or_filters = get_or_filters(text) count = len(get_users(or_filters, 0, 900000000, text)) diff --git a/lms/www/people/index.html b/lms/www/people/index.html index 0bbb80bc..e3f2e52d 100644 --- a/lms/www/people/index.html +++ b/lms/www/people/index.html @@ -8,7 +8,9 @@