Logout Button Integration
This integration is a standalone logout button that can be placed anywhere on your site (probably in your navigation or the footer).
Example Snippet
<div class="mariana-logout-button-binding"></div>
Live Example
If you would like to check out a live example, head over to https://mariana-integrations-demo.herokuapp.com/default/login/
Parameters
Parameters are optional. Use this if you would like to specify a redirect after logout. It defaults to your site homepage, which works for most people, but if you would like a different destination, you can specify.
The logout button integration has no parameters that can be set directly on it. But the logoutRedirect
url can be set within the global MT_CONFIG
.
<script>
var MT_CONFIG = {
...,
urls: {
logoutRedirect: '/place-your-url-here'
}
};
</script>