Avoid infinite recursion on login (#61617)
This commit is contained in:
parent
447c7d9ff0
commit
d20d10b5c5
1 changed files with 2 additions and 2 deletions
|
@ -243,10 +243,10 @@ class Connection(NetworkConnectionBase):
|
||||||
self.queue_message('vvv', "ESTABLISH HTTP(S) CONNECTFOR USER: %s TO %s" %
|
self.queue_message('vvv', "ESTABLISH HTTP(S) CONNECTFOR USER: %s TO %s" %
|
||||||
(self._play_context.remote_user, self._url))
|
(self._play_context.remote_user, self._url))
|
||||||
self.httpapi.set_become(self._play_context)
|
self.httpapi.set_become(self._play_context)
|
||||||
self.httpapi.login(self.get_option('remote_user'), self.get_option('password'))
|
|
||||||
|
|
||||||
self._connected = True
|
self._connected = True
|
||||||
|
|
||||||
|
self.httpapi.login(self.get_option('remote_user'), self.get_option('password'))
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
'''
|
'''
|
||||||
Close the active session to the device
|
Close the active session to the device
|
||||||
|
|
Loading…
Reference in a new issue