Problem with logout and login using AccountManagerPlugin

13 views
Skip to first unread message

usoft usoft

unread,
Sep 1, 2021, 12:30:07 PM9/1/21
to Trac Users
If i create a new user with the plugin and i try to login i always get auto logged in with my previous user i have logged in before. The login popup where you can enter username / password gets never shown again. In the log i see that it seems to keep the session ids even i clicked logout and when i login again it just uses this session / user. How to fix this behaviour so i can see the login popup again. Before installing the plugin, the login popup got shown after i click on login. After installing the plugin i get always auto logged in, even when i disable the plugin it still auto logges me in.

i use Trac-1.4.3 and TracAccountManager-0.6.dev0

Jun Omae

unread,
Sep 2, 2021, 9:33:43 AM9/2/21
to trac-...@googlegroups.com
On Thu, Sep 2, 2021 at 1:30 AM usoft usoft <uso...@gmail.com> wrote:
>
> If i create a new user with the plugin and i try to login i always get auto logged in with my previous user i have logged in before. The login popup where you can enter username / password gets never shown again. In the log i see that it seems to keep the session ids even i clicked logout and when i login again it just uses this session / user. How to fix this behaviour so i can see the login popup again. Before installing the plugin, the login popup got shown after i click on login. After installing the plugin i get always auto logged in, even when i disable the plugin it still auto logges me in.
>
> i use Trac-1.4.3 and TracAccountManager-0.6.dev0

Are you using HTTP authentication to log in? That behavior is a
browser's limitation on HTTP authentication.

Try to use a HTML form to log in instead of HTTP authentication.
See https://trac-hacks.org/wiki/AccountManagerPlugin/Modules#LoginModule.


--
Jun Omae <jun...@gmail.com> (大前 潤)
Reply all
Reply to author
Forward
0 new messages