On a website I've done - where there's no current need for users to be able to log in, I've been trying to add a logout function just for admin.
I've just used a text/html module and included the logout (login) link as it would normally appear but this isn't doing anything, just reloading the page.
<a id="dnn_dnnLOGIN_cmdLogin" class="SkinObject" href=" __doPostBack('dnn$dnnLOGIN$cmdLogin','')">Logout</a>
What have I done wrong? Or is there a better way to go about this?