Skip to content

The demo code in README doesnt work as expected #26

@omgitstehtris

Description

@omgitstehtris

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions