summary refs log tree commit diff
path: root/webclient/login
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-08-22 11:34:27 +0200
committerDavid Baker <dbkr@matrix.org>2014-08-22 11:34:27 +0200
commit3c349b408b302b21bf2ad0d9086fc3b6fb46dc7a (patch)
treeee9668c6e80eb817365c940853b93f6c7d8ac793 /webclient/login
parentShow image fullscreen when clicking on the thumbnail (diff)
downloadsynapse-3c349b408b302b21bf2ad0d9086fc3b6fb46dc7a.tar.xz
Update web client to use new IS API.
Diffstat (limited to 'webclient/login')
-rw-r--r--webclient/login/login-controller.js2
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
                     });