Fossil User Forum

Can’t logout
Login

Can’t logout

Can't logout

(1) By Jim Kalafut (kalafut) on 2023-12-07 23:26:05 [link] [source]

Hi. New user here with what I hope is some basic user error. In short, I can't logout of the UI. I press Logout, and it still shows me signed in as kalafut. I've tried clearing cookies and restarting fossil ui to no avail. I can even visit http://localhost:8080 from a brand new browser (e.g. switch to Safari, which I never use) and I'm logged in!

Is there perhaps some sort of "default to logged in user" when running fossil ui? I want to log out to try learning the multi-user features.

(2) By Richard Hipp (drh) on 2023-12-07 23:39:25 in reply to 1 [link] [source]

The "fossil ui" command does that. From the "fossil help ui" screen:

"By default, the "ui" command provides full administrative access without having to log in. This can be disabled by turning off the "localauth" setting."

Those two sentences are, admittedly, difficult to find, coming as they do at the end of a very long "help" page.

(3) By Jim Kalafut (kalafut) on 2023-12-08 00:10:17 in reply to 2 [source]

Aha! I figured there must be a setting, but my searches failed me. Thanks for the prompt reply.