Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.0.1

This commit is contained in:
Erik Johnston 2014-08-22 15:48:09 +01:00
commit 239622f80b
4 changed files with 95 additions and 49 deletions

View file

@ -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
});