Hi all. I have a protected page for users with an account for this. After login/logout and recalling the login page again I see a logout link instead of the login form.
Setup:
A resource (id=114) with the Login snippet
[[!Login?
&tplType=`modChunk`
&loginTpl=`myLoginTpl`
&loginResourceId=`115`
&logoutResourceId=`1`
]]
Another resource protected with resource group/user group/user (id=115). At this page is a logout link like this:
<a title="Logout" href="[[!~1? &service=logout]]">Logout!</a>
I am logged out of the manager, killed all cookies. I call login page 114, see the login form, fill in user and password and enter. Protected page 115 appears with the logout link.
I click the logout link and come to page 1 (home page).
Now I call again the URL for the login page 114. And there I see only a logout link (it’s the standard logout template from the snippet = lgnLogoutTpl), not the login form.
Any ideas? Many thanks.