datasette-auth-passwords icon indicating copy to clipboard operation
datasette-auth-passwords copied to clipboard

Change `description_html` after user logs in?

Open chrismp opened this issue 5 years ago • 1 comments

I've set up metadata.json to include the following...

{
	"description_html": "<a href=\"/-/login\">Log in before doing anything</a>. If you can see the databases below, you're already logged in.",
        # Bunch more properties here
}

Is there a way to change that message once a user logs in?

chrismp avatar Aug 26 '20 16:08 chrismp

Not yet. This will become possible when I implement a plugin hook for metadata in https://github.com/simonw/datasette/issues/860

simonw avatar Dec 11 '20 05:12 simonw