Skip to content
Snippets Groups Projects
Commit f20b5651 authored by Ferenc Schulcz's avatar Ferenc Schulcz
Browse files

Remove redundant endpoint adding

parent 215412e7
Branches
No related tags found
No related merge requests found
......@@ -12,7 +12,6 @@ def register(add_endpoint):
add_endpoint(endpoint_id='dyndns', handler=dyndns, permission_name='dyndns', menutext='DynDNS')
add_endpoint(endpoint_id='dyndns-register', handler=dyndnsRegister, permission_name='dyndns', method='POST')
add_endpoint(endpoint_id='dyndns-update', handler=dyndnsUpdate, permission_name=None) # Auth is handled by DynDNS server using a token
add_endpoint(endpoint_id='dyndns-update', handler=dyndnsUpdate, permission_name='dyndns') # Should work when logged in as well
def dyndns(**kwargs):
session = kwargs['session']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment