This package includes a new block type that you can use to add a (highly customizable) link to login (for guests) or logout (for already logged in users).
You can configure this block type so that:
- the login and/or the logout link should NOT be displayed
- the login and/or the logout links display a custom text with the specified HTML tag
- the login and/or the logout link contain custom HTML code
- users can stay in the current page after login (optionally including any querystring parameters)
This package is open source: you can find its source code on GitHub.