pub fn complete_password_reset(
adapter: &dyn DatabaseOperations,
config: &DbBackendConfig,
schema: &AppSchema,
token_hash: &str,
password_hash: &str,
now: &str,
) -> Result<Option<i64>, DatabaseError>Expand description
Claims a live reset token, changes its account password, and revokes sessions atomically.