Skip to main content

confirm

Function confirm 

Source
pub fn confirm(
    store: &Store,
    id: &str,
    username: &str,
    password: &str,
) -> Result<bool, String>
Expand description

A sign-up form was sent with password as username: if that is the password made for entry id, which is still unconfirmed, the entry records the user name sent and loses its tag. False for any other password (the person typed their own), or an entry already confirmed or gone.