Function ::exo::db::reset_password

Overview
async fn reset_password(value, value1) -> Result

Resets the password for a specific user.

Example:

let user = exo::get_user();
assert!(exo::db::reset_password(user.uuid, "admin").await.is_ok());