fix: whitelist login method to fetch session remotely
This commit is contained in:
parent
936934b813
commit
9028964494
1 changed files with 1 additions and 0 deletions
|
|
@ -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'))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue