summary refs log tree commit diff
path: root/webclient/login
diff options
context:
space:
mode:
Diffstat (limited to 'webclient/login')
-rw-r--r--webclient/login/login.html4
-rw-r--r--webclient/login/register-controller.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/webclient/login/login.html b/webclient/login/login.html
index 18e7a02815..6297ec4d42 100644
--- a/webclient/login/login.html
+++ b/webclient/login/login.html
@@ -39,8 +39,8 @@
                         Only http://matrix.org:8090 currently exists.</div>
                     <br/>
                     <br/>
-                    <a href="#/register" style="padding-right: 3em">Create account</a>
-                    <a href="#/reset_password">Forgotten password?</a>
+                    <a href="#/register" style="padding-right: 0em">Create account</a>
+                    <a href="#/reset_password" style="display: none; ">Forgotten password?</a>
                 </div>
             </div>
         </form>
diff --git a/webclient/login/register-controller.js b/webclient/login/register-controller.js
index b7584a7d33..5a14964248 100644
--- a/webclient/login/register-controller.js
+++ b/webclient/login/register-controller.js
@@ -82,7 +82,7 @@ angular.module('RegisterController', ['matrixService'])
                 }
             );
         } else {
-            registerWithMxidAndPassword($scope.account.desired_user_id, $scope.account.pwd1);
+            $scope.registerWithMxidAndPassword($scope.account.desired_user_id, $scope.account.pwd1);
         }
     };