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

The demo code in README doesnt work as expected #26

Open
omgitstehtris opened this issue Jun 30, 2020 · 0 comments
Open

The demo code in README doesnt work as expected #26

omgitstehtris opened this issue Jun 30, 2020 · 0 comments

Comments

@omgitstehtris
Copy link

The line radius.authenticate(username, password, secret, host='radius', port=1812) doesn't seem to work as expected.

I believe this is because secret is supposed to be a kwarg. radius.authenticate takes args: (self, username, password, **kwargs). So if you print the username/password later in radius.py, it outputs the password and secret.

I got around it by doing radius.authenticate(username=username, password=password, secret=secret, host='radius', port=1812)

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