You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: