Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

get rid of the login in window? #155

Closed
Uli007git opened this issue Feb 12, 2022 · 5 comments
Closed

get rid of the login in window? #155

Uli007git opened this issue Feb 12, 2022 · 5 comments
Labels
question Further information is requested

Comments

@Uli007git
Copy link

Describe the bug:
Not really a bug, but can I get rid of the login window when I open the dashboard? It's a bit annoying 馃憥

Version of DietPi-Dashboard: 0.5.0

Nightly or stable: Stable

Thanks

@Uli007git Uli007git added the bug Something isn't working label Feb 12, 2022
@MichaIng
Copy link
Collaborator

MichaIng commented Feb 12, 2022

Check out /opt/dietpi-dashboard/config.toml:

G_CONFIG_INJECT 'pass[[:blank:]]' 'pass = false' /opt/dietpi-dashboard/config.toml
systemctl restart dietpi-dashboard

The default timeout when the password was entered once is 1 hour, AFAIK, right @ravenclaw900? Probably there would be a way to define it so that users can increase it. Since we do not want to use cookies, the browser storage however is the only viable way.

@MichaIng MichaIng added question Further information is requested and removed bug Something isn't working labels Feb 12, 2022
@Joulinar
Copy link
Collaborator

Something I don't recommend as you will loose a security feature and everybody who has access to your network will be able to launch a root session on your system.

@MichaIng
Copy link
Collaborator

By times, another nice feature would be to bind to IPs and to restrict access to specific IPs. However, for now iptables or another firewall can be used to restrict access.

@Uli007git
Copy link
Author

Check out /opt/dietpi-dashboard/config.toml:

G_CONFIG_INJECT 'pass[[:blank:]]' 'pass = false' /opt/dietpi-dashboard/config.toml
systemctl restart dietpi-dashboard

Thanks.. that works for me 馃憤

@MichaIng
Copy link
Collaborator

Great, I'll mark this as closed then.

@ravenclaw900 ravenclaw900 mentioned this issue Feb 15, 2022
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants