Skip to main content

get_pin

Function get_pin 

Source
pub async fn get_pin(
    db: &Arc<RusqliteService>,
    user_id: &str,
) -> Result<Option<(String, PinState)>, String>
Expand description

The stored PIN hash and attempt counters, or None when no PIN is set.

TRACES: UR-083 | DR-268