mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-07 02:25:35 +00:00
Do not require a daemon restart to use updated auth file
This commit is contained in:
parent
85cef723c3
commit
da177ff4e4
1 changed files with 4 additions and 1 deletions
|
@ -55,7 +55,10 @@ class AuthManager(component.Component):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if username not in self.auth:
|
if username not in self.auth:
|
||||||
return False
|
# Let's try to re-load the file.. Maybe it's been updated
|
||||||
|
self.__load_auth_file()
|
||||||
|
if username not in self.auth:
|
||||||
|
return False
|
||||||
|
|
||||||
if self.auth[username] == password:
|
if self.auth[username] == password:
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue