I have been trying to solve this problem the whole week without a solution.
I am currently running modified lilac.2 with the latest Tutor version.
The login and register page simply give the following CSRF error when the form is submitted.
CSRF verification failed. Request aborted.
The login works for the admin page, however, no luck with the LMS one.
I have noticed that the login form submits to the /login path as opposed to the /api/user/v1/account/login_session/.
Can anyone give me a hint as to why this happens?