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.
pub async fn user_has_password(
ctx: &AuthContext<impl AuthSchema>,
user: &impl AuthUser,
) -> AuthResult<bool>Whether the user currently has a password set.
Propagates errors from credential-account storage.