summary refs log tree commit diff
path: root/webclient/login/login.html
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-14 16:29:24 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-14 16:29:51 +0100
commitca3747fb2f9a1e2e6d5d9e55cd0760e373b57a90 (patch)
tree2c5c9e9a4d8844ad32f600af48a5c48e6c2c4576 /webclient/login/login.html
parentReflect user's messages up to themselves before pushing it to federatoin; als... (diff)
downloadsynapse-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.html')
-rw-r--r--webclient/login/login.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/login/login.html b/webclient/login/login.html
index f02dde89a6..0fbeeabed7 100644
--- a/webclient/login/login.html
+++ b/webclient/login/login.html
@@ -15,7 +15,7 @@
         <!-- New user registration -->
         <div>
             <br/>
-            <button ng-click="register()" ng-disabled="!account.desired_user_name || !account.homeserver || !account.identityServer || !account.pwd1 || !account.pwd2">Register</button>
+            <button ng-click="register()" ng-disabled="!account.desired_user_name || !account.homeserver || !account.identityServer || !account.pwd1 || !account.pwd2 || account.pwd1 !== account.pwd2">Register</button>
         </div>
     </form>