fix: whitelist login method to fetch session remotely

This commit is contained in:
Abhishek Balam 2021-04-19 23:27:38 +05:30 committed by Suraj Shetty
parent 936934b813
commit 9028964494

View file

@ -120,6 +120,7 @@ class LoginManager:
self.make_session()
self.set_user_info()
@frappe.whitelist()
def login(self):
# clear cache
frappe.clear_cache(user = frappe.form_dict.get('usr'))