diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-08-14 16:29:24 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-08-14 16:29:51 +0100 |
commit | ca3747fb2f9a1e2e6d5d9e55cd0760e373b57a90 (patch) | |
tree | 2c5c9e9a4d8844ad32f600af48a5c48e6c2c4576 /webclient/login/login-controller.js | |
parent | Reflect user's messages up to themselves before pushing it to federatoin; als... (diff) | |
download | synapse-ca3747fb2f9a1e2e6d5d9e55cd0760e373b57a90.tar.xz |
hs: Make /login accept full user IDs or just local parts. webclient: Only enable Register button when both password fields match.
Diffstat (limited to 'webclient/login/login-controller.js')
-rw-r--r-- | webclient/login/login-controller.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/webclient/login/login-controller.js b/webclient/login/login-controller.js index 826a533873..53756be9ea 100644 --- a/webclient/login/login-controller.js +++ b/webclient/login/login-controller.js @@ -68,12 +68,6 @@ angular.module('LoginController', ['matrixService']) }; $scope.login = function() { - if ($scope.account.user_id.indexOf("@") !== 0) { - // technically should be the host of account.homeserver - $scope.account.user_id = "@" + $scope.account.user_id + ":" + - $location.host() - } - matrixService.setConfig({ homeserver: $scope.account.homeserver, user_id: $scope.account.user_id |