Skip to main content

reject_last_login_method_input

Function reject_last_login_method_input 

Source
pub fn reject_last_login_method_input<S: AuthSchema>(
    ctx: &AuthContext<S>,
    value: Option<&JsValue>,
) -> AuthResult<()>
Expand description

Reject caller-supplied tracking values when the registered database field is server managed. Call after the endpoint’s ordinary admission validation.

§Errors

Returns the published FIELD_NOT_ALLOWED response for truthy supplied values.