Skip to main content

require_auth

Function require_auth 

Source
pub async fn require_auth(
    session: Session,
    request: Request,
    next: Next,
) -> Response
Expand description

Auth middleware that checks if user is authenticated