Commit fca06bf5 authored by Neil Alexander's avatar Neil Alexander

Try to prevent duplicate authorized passwords in cjdroute.conf on system startup/config load

parent 0ecf59bc
... ... @@ -17,6 +17,7 @@ def setStandardConfiguration(interface):
data['router']['interface']['tunDevice'] = interface
def addAuthorizedPassword(user, password):
deleteAuthorizedPassword(user)
data['authorizedPasswords'].append(
{ "user": user, "password": password }
)
... ...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment