Always Logged in on Web UI #413

Closed
opened 2025-12-29 16:21:48 +01:00 by adam · 2 comments
Owner

Originally created by @bsakdol on GitHub (Sep 2, 2016).

Maybe I just didn't notice it in earlier releases, but it seems like once I upgraded to v1.5.2 I have remained logged in to the web ui. I've tested this on Chrome and Firefox with the same result. I can close my browser and even restart my computer, but I remain logged in. I do, however, land on the login page when I first navigate to the URL, but everything else appears the same (admin access to everything and the option to log out). The only way I can actually log out is to click log out. It seems to me like this shouldn't be happening, so maybe it is user error or just expected behavior for this platform?

Currently, I have LOGIN_REQUIRED = True, but I did have it set to False for a period of time. I started noticing this behavior while login was not required, so I set it back to True, sudo supervisorctl restart netbox, no change in behavior.

Originally created by @bsakdol on GitHub (Sep 2, 2016). Maybe I just didn't notice it in earlier releases, but it seems like once I upgraded to v1.5.2 I have remained logged in to the web ui. I've tested this on Chrome and Firefox with the same result. I can close my browser and even restart my computer, but I remain logged in. I do, however, land on the login page when I first navigate to the URL, but everything else appears the same (admin access to everything and the option to _log out_). The only way I can actually log out is to click _log out_. It seems to me like this shouldn't be happening, so maybe it is user error or just expected behavior for this platform? Currently, I have `LOGIN_REQUIRED = True`, but I did have it set to `False` for a period of time. I started noticing this behavior while login was not required, so I set it back to `True`, `sudo supervisorctl restart netbox`, no change in behavior.
adam closed this issue 2025-12-29 16:21:48 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 7, 2016):

Not sure I understand the problem. The authentication cookie issued upon login is valid for 15 days; you will continue to stay logged in across browser restarts until the cookie expires or you log out manually.

@jeremystretch commented on GitHub (Sep 7, 2016): Not sure I understand the problem. The authentication cookie issued upon login is valid for 15 days; you will continue to stay logged in across browser restarts until the cookie expires or you log out manually.
Author
Owner

@bsakdol commented on GitHub (Sep 7, 2016):

Fair enough. If that is the expected behavior, there is no problem then.

@bsakdol commented on GitHub (Sep 7, 2016): Fair enough. If that is the expected behavior, there is no problem then.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#413