Skip to main content

user_has_password

Function user_has_password 

Source
pub async fn user_has_password(
    ctx: &AuthContext<impl AuthSchema>,
    user: &impl AuthUser,
) -> AuthResult<bool>
Expand description

Whether the user currently has a password set.

ยงErrors

Propagates errors from credential-account storage.