Using dot notation for accessing token

This commit is contained in:
Lukas Matt 2015-02-25 00:08:58 +01:00
parent 94f73be7d9
commit e484ebc85f

View file

@ -28,7 +28,7 @@ $(document).ready(function() {
username: jid.replace(/@.*?$/g, ''),
domain: jid.replace(/^.*?@/g, ''),
jid: jid,
password: data['token'],
password: data.token,
resource: 'diaspora-jsxc',
overwrite: true,
onlogin: true