Suddenly logged out periodically

Hey there,

from time to time I suddenly have to log into Silverbullet again and the message says something with “/.auth” (I forgot to note it down some minutes ago and I do not know how to reproduce.

It seems like some kind of login session time which expired or so. Is there any setting for that?

I installed silverbullet with deno on my server and running it with the “silverbullet” command silverbullet /path/to/documents -p3000 --user USER:PASSWORD.

I could not find a thing in the docs or this forum. Looking forward to any help here. Thanks in advance!

This is just a constant in SB. The cookie only lives for a week.
image

Hey, thanks for the reply. Could it be that this is related to Silverbullet v2? I am still using the latest official release, 0.10.4.

If it’s related to any version: where could I change this constant?

I think it wasn’t changed between v1 and v2. It’s defined in code, you can’t change it without recompiling. I don’t know if @zef has any interest in making it configurable.

Ah, I understand now. Thanks for the explanation! :slight_smile: