Using dot notation for accessing token
This commit is contained in:
parent
94f73be7d9
commit
e484ebc85f
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ $(document).ready(function() {
|
||||||
username: jid.replace(/@.*?$/g, ''),
|
username: jid.replace(/@.*?$/g, ''),
|
||||||
domain: jid.replace(/^.*?@/g, ''),
|
domain: jid.replace(/^.*?@/g, ''),
|
||||||
jid: jid,
|
jid: jid,
|
||||||
password: data['token'],
|
password: data.token,
|
||||||
resource: 'diaspora-jsxc',
|
resource: 'diaspora-jsxc',
|
||||||
overwrite: true,
|
overwrite: true,
|
||||||
onlogin: true
|
onlogin: true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue