headless_lms_server::domain::authorization

Function has_auth_user_session

Source
pub async fn has_auth_user_session(
    session: &Session,
    pool: Data<PgPool>,
) -> bool
Expand description

Checks if the user is authenticated in the given session.