pub async fn validate_user_wrapper(
json_creds: Json<Credentials>,
pool: Data<Pool<Postgres>>,
) -> impl Responder
Expand description
Wrapper for validate_user
. Returns 202
if validated successfully and 401
if the user provided is not valid.