diff --git a/deluge/ui/client.py b/deluge/ui/client.py index 466b5951c..26cef631f 100644 --- a/deluge/ui/client.py +++ b/deluge/ui/client.py @@ -758,6 +758,15 @@ class Client(object): """ return self._daemon_proxy.get_bytes_sent() + def get_auth_user(self): + """ + Returns the current authenticated username. + + :returns: the authenticated username + :rtype: str + """ + return self._daemon_proxy.username + def get_auth_level(self): """ Returns the authentication level the daemon returned upon authentication.