summaryrefslogtreecommitdiff
path: root/src/api/pages.rs
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2023-01-27 16:04:04 -0500
committerTyler Murphy <tylermurphy534@gmail.com>2023-01-27 16:04:04 -0500
commit8536e41c64811630ce8c99eb49d81f89bfb69456 (patch)
tree4066f9e7dc47fbda4b6aa74871d26ebbe3a43d26 /src/api/pages.rs
parentinput length and range checking (diff)
downloadxssbook-8536e41c64811630ce8c99eb49d81f89bfb69456.tar.gz
xssbook-8536e41c64811630ce8c99eb49d81f89bfb69456.tar.bz2
xssbook-8536e41c64811630ce8c99eb49d81f89bfb69456.zip
rusty boio finished
Diffstat (limited to 'src/api/pages.rs')
-rw-r--r--src/api/pages.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/api/pages.rs b/src/api/pages.rs
index 749a686..4701795 100644
--- a/src/api/pages.rs
+++ b/src/api/pages.rs
@@ -3,7 +3,6 @@ use axum::{Router, response::{Response, Redirect, IntoResponse}, routing::get};
use crate::types::{extract::AuthorizedUser, response::ResponseCode};
async fn root(user: Option<AuthorizedUser>) -> Response {
- println!("{}", user.is_some());
if user.is_some() {
return Redirect::to("/home").into_response()
} else {