Skip to content

Commit 2ed062e

Browse files
committed
[fix] Minor changes
1 parent 0fdbf2d commit 2ed062e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

www/js/controllers/login-controllers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function LoginModalController($scope, $timeout, $q, $ionicPopover, $window, Cryp
140140
UIUtils.loading.show();
141141
promise = csCrypto.ready()
142142
.then(function() {
143-
return csCrypto.scrypt.keypair($scope.formData.username, $scope.formData.password, scryptPrams)
143+
return csCrypto.scrypt.keypair($scope.formData.username, $scope.formData.password, scryptPrams);
144144
})
145145
.then(function(keypair) {
146146
if (!keypair) return UIUtils.loading.hide(10);
@@ -320,7 +320,7 @@ function LoginModalController($scope, $timeout, $q, $ionicPopover, $window, Cryp
320320
var scryptPrams = $scope.formData.scrypt && $scope.formData.scrypt.params;
321321
return csCrypto.ready()
322322
.then(function() {
323-
return csCrypto.scrypt.pubkey(salt, pwd, scryptPrams)
323+
return csCrypto.scrypt.pubkey(salt, pwd, scryptPrams);
324324
})
325325
.then(function (pubkey) {
326326

0 commit comments

Comments
 (0)