aurweb/templates
Kevin Morris adb42882c5 [FastAPI] add /tos routes (get, post)
This clones the end goal behavior of PHP, but it does not
concern itself with the revision form array at all.

Since this page on PHP renders out the entire list of
terms that a user needs to accept, we can treat a
POST request with the "accept" checkbox enabled as a
request to accept all unaccepted (or outdated revision)
terms.

This commit also adds in a new http middleware used to
redirect authenticated users to '/tos' if they have not
yet accepted all terms.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-06-24 19:12:49 -07:00
..
account add account (view) route 2021-06-05 20:11:17 -07:00
errors Adding route tests 2021-06-05 19:52:56 -07:00
partials aurweb.asgi: add security headers middleware 2021-06-22 20:33:45 -07:00
tos [FastAPI] add /tos routes (get, post) 2021-06-24 19:12:49 -07:00
index.html port over base HTML layout from PHP to FastAPI+Jinja2 2021-06-05 19:50:51 -07:00
login.html implement login + logout routes and templates 2021-06-05 20:11:17 -07:00
passreset.html add passreset routes 2021-06-05 20:11:17 -07:00
register.html add user registration routes 2021-06-05 20:11:17 -07:00