diff options
author | David Baker <dbkr@matrix.org> | 2014-08-22 11:34:27 +0200 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2014-08-22 11:34:27 +0200 |
commit | 3c349b408b302b21bf2ad0d9086fc3b6fb46dc7a (patch) | |
tree | ee9668c6e80eb817365c940853b93f6c7d8ac793 /webclient/login/login-controller.js | |
parent | Show image fullscreen when clicking on the thumbnail (diff) | |
download | synapse-3c349b408b302b21bf2ad0d9086fc3b6fb46dc7a.tar.xz |
Update web client to use new IS API.
Diffstat (limited to 'webclient/login/login-controller.js')
-rw-r--r-- | webclient/login/login-controller.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webclient/login/login-controller.js b/webclient/login/login-controller.js index 67d0b7b90c..35886c5583 100644 --- a/webclient/login/login-controller.js +++ b/webclient/login/login-controller.js @@ -70,6 +70,7 @@ angular.module('LoginController', ['matrixService']) $scope.login = function() { matrixService.setConfig({ homeserver: $scope.account.homeserver, + identityServer: $scope.account.identityServer, user_id: $scope.account.user_id }); // try to login @@ -79,6 +80,7 @@ angular.module('LoginController', ['matrixService']) $scope.feedback = "Login successful."; matrixService.setConfig({ homeserver: $scope.account.homeserver, + identityServer: $scope.account.identityServer, user_id: response.data.user_id, access_token: response.data.access_token }); |