mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 07:28:39 +00:00
Have authmanager return ints instead of strings for the auth level
This commit is contained in:
parent
a7e70509b0
commit
be5e12e1e4
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class AuthManager(component.Component):
|
||||||
|
|
||||||
if self.__auth[username][0] == password:
|
if self.__auth[username][0] == password:
|
||||||
# Return the users auth level
|
# Return the users auth level
|
||||||
return self.__auth[username][1]
|
return int(self.__auth[username][1])
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue