mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 14:14:58 -04:00
Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.0.1
This commit is contained in:
commit
239622f80b
4 changed files with 95 additions and 49 deletions
|
@ -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
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue