some type of authentication for the site

This commit is contained in:
Reid 2023-09-21 18:43:41 -07:00
parent b3451a641e
commit cdaf5febb7
Signed by: reidlab
GPG key ID: 6C9EAA3364F962C8
13 changed files with 318 additions and 7 deletions

View file

@ -53,7 +53,12 @@ fn rocket() -> _ {
template_endpoints::index::index,
template_endpoints::reupload::post_reupload,
template_endpoints::reupload::get_reupload
template_endpoints::reupload::get_reupload,
template_endpoints::login::post_login,
template_endpoints::login::get_login,
template_endpoints::logout::logout,
])
// assets
.mount("/", routes![