Hi ,
I am able to login to asset share using the OOTB asset share functionality, but logout does not work
1>
the code used is
<a class="cmp-user__action" href="#" data-asset-share-id="cmp-user-menu__logout-link">Log Out
</a>
When we click on that it hits the code
// Events
$("body").on("click", ns.Elements.selector("cmp-user-menu__logout-link"), function() {
cart.clear();
});
But the issue it doesn't logout the user.
2>
I tried with adding
<a class="cmp-user__action" href="/system/sling/logout.html" data-asset-share-id="cmp-user-menu__logout-link">Log Out</a>
Here again it does not logout the user and shows up 404 error message
Not Found
The requested URL /system/sling/logout.html was not found on this server.
Could some one help me to resolve the issue