Page 1 of 1

Disable Deluge WebUI authentication

Posted: Mon Nov 20, 2017 6:22 pm
by Rourke
I handle the authentication on my server through an nginx proxy and the use of auth_request, so I have setup an empty password but the Deluge WebUI still asks for a password. Is there a way to just disable authentication as a whole?

Re: Disable Deluge WebUI authentication

Posted: Sun Nov 25, 2018 8:16 am
by someguyhere
Here is a solution:

Code: Select all

## Allow correct AND incorrect password to be submitted
sed -i 's/if s.hexdigest() == config\["pwd_sha1"\]:/if True:/' /usr/lib/python2.7/dist-packages/deluge/ui/web/auth.py

## Auto submit blank password
sed -i 's/onShow:function(){this.passwordField.focus(.*)}/onShow:function(){this.onLogin();}/' /usr/lib/python2.7/dist-packages/deluge/ui/web/js/deluge-all.js


Source https://dukrat.net/124/deluge-webui-1-3 ... e-password