To test whether it works, I have added one line in frappe/auth.py:
Line No. 163
frappe.response["csrf_token"] = frappe.generate_hash()
It will return csrf_token as part of login response.
To test whether it works, I have added one line in frappe/auth.py:
Line No. 163
frappe.response["csrf_token"] = frappe.generate_hash()
It will return csrf_token as part of login response.