Skip to main content

signed_in

Function signed_in 

Source
pub fn signed_in<S>(
    request: &Request,
    _connection: &ConnectionInfo,
    _state: &S,
) -> Result<(), Response>
Available on crate feature crypto and crate feature mailer and crate feature serde and non-WebAssembly only.
Expand description

A route guard: 401 without a session (group(…).guard(signed_in)).