Skip to main content

profile_render

Function profile_render 

Source
pub async fn profile_render(
    db: &Db,
    registry: &AdminRegistry,
    legacy_entries: &[AdminEntry],
    identity: Option<&Identity>,
    user: Option<&User>,
    csrf_token: Option<&str>,
) -> String
Expand description

0.10+ renderer for GET /admin/profile. Builds the merged sidebar (same as dashboard / list) and renders admin/profile.html.