Function mini_rust_auth::auth::validate_user
source ยท pub async fn validate_user(
credentials: &Credentials,
pool: &Pool<Postgres>,
) -> UserValidated
Expand description
validate_user
Given the user credentials provided will check if the credentials are valid and in the database.
- Get user from data base Build SQL for SELECT