Skip to main content

profiles_startup_target

Function profiles_startup_target 

Source
pub async fn profiles_startup_target(
    db: State<'_, DatabaseWrapper>,
    auth_manager: State<'_, AuthManagerWrapper>,
) -> Result<StartupTarget, String>
Expand description

Whether startup should resume an account or ask who is watching.

The decision is backend state, so the frontend asks rather than computes it.

TRACES: UR-082 | DR-274