[Zope] LoginManager - logging out
Aleksander Salwa
ololo@zeus.polsl.gliwice.pl
Sun, 17 Dec 2000 14:58:43 +0100 (CET)
I used this code in my "logoutForm" to logout user in my old setup
(LoginManager-0_8_7a1, ZPatterns-0-4-2a1 and Zope 2.2.1):
<dtml-call "AUTHENTICATED_USER.logout()">
It doesn't work when using LoginManager-0-8-8b1 + ZPatterns-0-4-3b2 +
Zope 2.2.4.
I've found a work-around:
<dtml-call "acl_users.logoutUser(AUTHENTICATED_USER.getId())">
It logouts user as expected.
But, can anybody tell me, why the former one doesn't work as it should ?
ololo@zeus.polsl.gliwice.pl
/--------------------------------------\
| `long long long' is too long for GCC |
\--------------------------------------/