renaming type -> meth

This commit is contained in:
or-else
2018-03-16 18:49:01 -07:00
parent 99bab6cae9
commit 95b9f1a1fd
+2 -2
View File
@@ -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) {