fix(FastAPI): prevent CSRF forging login requests

Signed-off-by: Steven Guikal <void@fluix.one>
This commit is contained in:
Steven Guikal 2021-11-01 17:18:09 -04:00
parent e4a5b7fae9
commit 020409ef46
3 changed files with 49 additions and 1 deletions

View file

@ -964,6 +964,10 @@ msgstr ""
msgid "Package details could not be found."
msgstr ""
#: aurweb/routers/auth.py
msgid "Bad Referer header."
msgstr ""
#: aurweb/routers/packages.py
msgid "You did not select any packages to be notified about."
msgstr ""