Disable Deluge WebUI authentication

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

Disable Deluge WebUI authentication

Postby Rourke » Mon Nov 20, 2017 6:22 pm

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?

New User
New User
Posts: 1
Joined: Sun Nov 25, 2018 8:13 am

Re: Disable Deluge WebUI authentication

Postby someguyhere » Sun Nov 25, 2018 8:16 am

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

Return to “Support”

Who is online

Users browsing this forum: No registered users and 17 guests