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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no autologin #76

Open
truderinger opened this issue Nov 9, 2019 · 2 comments
Open

no autologin #76

truderinger opened this issue Nov 9, 2019 · 2 comments

Comments

@truderinger
Copy link

Hallo,

and a great thanyou for the slimpd.

My config.ini say 👍

[users]
allow_empty_password = 0
always_show_guest_usernames = 0

I tried the three lines with various numbers and also with comment out. Unfortunately, always a login is requested. Since the part "headless" is in the living room and has no keyboard or mouse. Should the slimp server automatically log in itself?

Thanks for help.

bestregards
Herbert

@othmar52
Copy link
Owner

othmar52 commented Nov 10, 2019

Hi Herbert,
The user stuff is not finished yet.
I know it's really annoying to have the login form on every browser start.
Maybe i will fix this soon but i can't promise.
As a quick and dirty workaround add this sigle line to
core/php/Modules/Auth/Auth.php

    public function hasPermissionFor($key)
    {
+        return TRUE;
        $role = $this->container->session->get('role');

EDIT
no keyboard and no mouse?
So how do you interact with slimpd?

@truderinger
Copy link
Author

truderinger commented Nov 10, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants