Skip to main content

issue_password_reset

Function issue_password_reset 

Source
pub fn issue_password_reset(
    adapter: &dyn DatabaseOperations,
    config: &DbBackendConfig,
    schema: &AppSchema,
    email: &str,
    token_hash: &str,
    delivery_secret: &str,
    expires_at: &str,
) -> Result<bool, DatabaseError>
Expand description

Persists one reset token and its delivery work in a single adapter transaction.