Authenticate user with legacyName and password

I forgot to send the legacyName with the password when authenticating.
This commit is contained in:
moyamo 2015-02-27 14:33:55 +02:00
parent 8dcc028548
commit 1878a30fb6

View file

@ -108,7 +108,7 @@ class Session:
def login(self, password): def login(self, password):
self.stack.setProp(YowAuthenticationProtocolLayer.PROP_CREDENTIALS, self.stack.setProp(YowAuthenticationProtocolLayer.PROP_CREDENTIALS,
password) (self.legacyName, password))
self.stack.setProp(YowNetworkLayer.PROP_ENDPOINT, self.stack.setProp(YowNetworkLayer.PROP_ENDPOINT,
YowConstants.ENDPOINTS[0]) YowConstants.ENDPOINTS[0])
self.stack.setProp(YowCoderLayer.PROP_DOMAIN, self.stack.setProp(YowCoderLayer.PROP_DOMAIN,