diff --git a/www/js/controllers/login-controllers.js b/www/js/controllers/login-controllers.js
index a5f7e98f9c899a8bb6735fccf362743682560eb3..9558054dbdba4d7f635f6450bcce9b766845d142 100644
--- a/www/js/controllers/login-controllers.js
+++ b/www/js/controllers/login-controllers.js
@@ -158,7 +158,7 @@ function LoginModalController($scope, $timeout, $q, $ionicPopover, CryptoUtils,
           .then(function() {
             return {
               pubkey: pubkey
-            }
+            };
           });
       }
 
@@ -179,7 +179,7 @@ function LoginModalController($scope, $timeout, $q, $ionicPopover, CryptoUtils,
               .then(function() {
                 return {
                   pubkey: pubkey
-                }
+                };
               });
           }
         }