Skip to main content

validate_mount_config

Function validate_mount_config 

Source
pub fn validate_mount_config(
    auth: &RustAuth,
) -> Result<(), RustAuthActixWebError>
Expand description

Validate that RustAuthOptions::base_url and base_path are consistent.

Call this before manually nesting RustAuthActixWebExt::mount_routes if you bypass the fallible mount helpers.