pub async fn validate_session(
session: &Session,
pool: &Pool<Postgres>,
) -> SessionValidatedExpand description
validate_session
Given a session will check if its valid in the database.
pub async fn validate_session(
session: &Session,
pool: &Pool<Postgres>,
) -> SessionValidatedvalidate_session
Given a session will check if its valid in the database.