pub async fn require_auth( session: Session, request: Request, next: Next, ) -> Response
Auth middleware that checks if user is authenticated