mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 14:04:59 -04:00
Pass back the user_id in the response to /login in case it has changed. Store and use that on the webclient rather than the input field.
This commit is contained in:
parent
ca3747fb2f
commit
fef3183461
4 changed files with 9 additions and 7 deletions
|
@ -79,7 +79,7 @@ angular.module('LoginController', ['matrixService'])
|
|||
$scope.feedback = "Login successful.";
|
||||
matrixService.setConfig({
|
||||
homeserver: $scope.account.homeserver,
|
||||
user_id: $scope.account.user_id,
|
||||
user_id: response.data.user_id,
|
||||
access_token: response.data.access_token
|
||||
});
|
||||
matrixService.saveConfig();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue