What is different with cockpit.login?

Hi guys,
I’m currently writing a cockpit plugin which is supposed to get the currently logged in users username. Therefore I’d like to extend the cockpit.login.data plugin to get that name when logging in and storing it.

My current frontend module looks like this:

export default {
    id: "customPluginLogin",
    pluginPoint: "cockpit.login.data",
    priority: 5,
    render: container => {
        console.log("test");
        container.innerHTML = "Hello World!";
    },
    result: arg => {
        console.log("logged in");
    }
}

My problem is that there is nothing happening. Neither anything gets printed nor does the “Hello World!” label appear anywhere. I also tried (just to test whether I screwed something basic up) the plugin Points cockpit.navigation and cockpit.login

cockpit.login doesn’t change anything either but the cockpit.navigation plugin point seems to work

I’m hoping someone can help me, thank you :slight_smile: