renaming type -> meth
This commit is contained in:
+2
-2
@@ -1078,7 +1078,7 @@
|
|||||||
this.state.login.trim(),
|
this.state.login.trim(),
|
||||||
this.state.password.trim(),
|
this.state.password.trim(),
|
||||||
vcard(this.state.fn, this.state.imageDataUrl),
|
vcard(this.state.fn, this.state.imageDataUrl),
|
||||||
{"type": "email", "val": this.state.email});
|
{"meth": "email", "val": this.state.email});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
render: function() {
|
render: function() {
|
||||||
@@ -3600,7 +3600,7 @@
|
|||||||
// Try to login with token. If token is not available, try password. If no password, ask for it.
|
// Try to login with token. If token is not available, try password. If no password, ask for it.
|
||||||
var promise = null;
|
var promise = null;
|
||||||
var token = Tinode.getLoginToken();
|
var token = Tinode.getLoginToken();
|
||||||
|
|
||||||
console.log("doLogin token=", token);
|
console.log("doLogin token=", token);
|
||||||
|
|
||||||
if (token) {
|
if (token) {
|
||||||
|
|||||||
Reference in New Issue
Block a user