mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
remove debug print
This commit is contained in:
@@ -81,7 +81,6 @@ where
|
||||
|
||||
// Extract user from session cookie
|
||||
if let Ok(session) = Session::extract(req.request()).await {
|
||||
println!("There's a session!");
|
||||
match session.get::<User>("user") {
|
||||
Ok(Some(user)) => {
|
||||
req.extensions_mut().insert(user);
|
||||
|
||||
Reference in New Issue
Block a user