From 4e85d129d172453f7e8684a38bb19441eb05e9a8 Mon Sep 17 00:00:00 2001 From: Lennart <18233294+lennart-k@users.noreply.github.com> Date: Fri, 4 Oct 2024 11:58:29 +0200 Subject: [PATCH] change user.rs --- crates/store/src/auth/user.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/store/src/auth/user.rs b/crates/store/src/auth/user.rs index 51fa631..a98920f 100644 --- a/crates/store/src/auth/user.rs +++ b/crates/store/src/auth/user.rs @@ -19,9 +19,9 @@ impl FromRequest for User { ) -> Self::Future { ready( req.extensions() - .get::() + .get::() .cloned() - .ok_or(ErrorUnauthorized("")), + .ok_or(ErrorUnauthorized("Not authenticated")), ) } }