summaryrefslogtreecommitdiff
path: root/server/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main.rs')
-rw-r--r--server/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/main.rs b/server/src/main.rs
index 22f9e19..fd28789 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -1,6 +1,6 @@
use std::{collections::HashMap, env, str::FromStr, sync::Arc};
-use auth::AuthenticatedSession;
+use auth::{AuthenticatedSession, LoggedInUser};
use axum::{
extract::{Extension, Query},
response::Redirect,
@@ -73,6 +73,7 @@ async fn main() {
}
async fn user_info(
+ _user: LoggedInUser,
cookies: Cookies,
extension: ContextExtension,
) -> Result<Json<Option<UserInfo>>, BridgeError> {