Disabling CSRF tokens to get this to work is unnecessary, and doing so is a bad idea.
Flask-WTF does not make retrieving the CSRF token convenient but it's easy to do with the help of the BeautifulSoup module. Or any other HTML parser to get the token out of the <input> tag on the login page.
Disabling CSRF tokens to get this to work is unnecessary, and doing so is a bad idea.
Flask-WTF does not make retrieving the CSRF token convenient but it's easy to do with the help of the BeautifulSoup module. Or any other HTML parser to get the token out of the
<input>
tag on the login page.