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")), ) } }