1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

use right variable

This commit is contained in:
David Baker
2019-06-13 16:30:39 +01:00
parent 8aeb994839
commit 65dd5cc6ad

View File

@@ -167,7 +167,7 @@ MatrixBaseApis.prototype.register = function(
} else if (bindThreepids === null || bindThreepids === undefined) {
bindThreepids = {};
}
if (typeof inhibit_login === 'function') {
if (typeof inhibitLogin === 'function') {
callback = inhibitLogin;
inhibitLogin = undefined;
}