Skip to main content

peek_login_token

Function peek_login_token 

Source
async fn peek_login_token(
    services: &Services,
    token: Option<&str>,
) -> Result<OwnedUserId>
Expand description

Verify a login token without consuming it. Used by GET handlers that embed the token in a POST confirmation form. The token is consumed later when the form is submitted.