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

Unable to login on https://localhost:8001 of wok #1322

Open
Marietto2008 opened this issue Apr 28, 2020 · 1 comment
Open

Unable to login on https://localhost:8001 of wok #1322

Marietto2008 opened this issue Apr 28, 2020 · 1 comment

Comments

@Marietto2008
Copy link

Marietto2008 commented Apr 28, 2020

Hello.

I'm using Ubuntu 20 on WLS2 / Windows 10 x64 bit, when I do :

root@DESKTOP-N9UN2H3:/mnt/i/macos-haxm/wok# python3 src/wokd
rc: 3 error: returned from cmd: service nginx status

  • Starting nginx nginx

I go to https://localhost:8001 and when I get the login prompt I enter the username and password that I use to become root (but i tried also to use the credentials of a normal user) but it fails to authenticate. When it refuses the connection it gives an error,but it appears very fast and then it disappears and I'm not able to see it.

this is how looks the file /usr/lib/python3/dist-packages/wok/auth.py

@staticmethod
    def authenticate(username, password, service='system-auth'):
        """Returns True if authenticate is OK via PAM."""

        def _auth(result):
            def _pam_conv(auth, query_list, userData=None):
                resp = []
                for i in range(len(query_list)):

I found the same problem here :

#1232

but I see that the code of my auth.py file has been already fixed. Anyway,it does not work. So,it has not been fixed properly or there is something that I need to know.

@Marietto2008
Copy link
Author

this problem disappeared.

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

1 participant