Disable Deluge WebUI authentication

General support for problems installing or using Deluge
Post Reply
Rourke
New User
New User
Posts: 7
Joined: Mon Nov 20, 2017 6:17 pm

Disable Deluge WebUI authentication

Post 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?
someguyhere
New User
New User
Posts: 1
Joined: Sun Nov 25, 2018 8:13 am

Re: Disable Deluge WebUI authentication

Post 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
Post Reply