Open jonaspiterek opened 5 months ago
In fact, login can also be a portal action. Now thst you mastered them ;)
Yes, but the link is hard-coded.
@jonaspiterek I think @sneridagh is saying that the template can check @components.actions
in the content data to see if the login action should be shown, rather than a setting from the Volto config.
@sneridagh What do you think of an config option to hide the login button in the anontools?
https://github.com/kitconcept/volto-light-theme/blob/7ecbf769fce68c05abd33581cc485c8f6e0ae1cb/packages/volto-light-theme/src/components/Anontools/Anontools.jsx#L24-L31
It is very common to not show this on a non-intranet site because the login is only for editors. So instead of customizing it, why not have a config option (e.g.
config.settings.showLogin
)?