about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-02-26 15:28:08 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-02-26 15:28:08 +0100
commitf16b31f0773c2fd1122ff0ad98cb392e762f0d0b (patch)
tree24880b7ee107288e7acb540011281569e8502e96 /app/services
parent44c5958203dd8d0f96f880a8014a3233719077a6 (diff)
Adding a bunch of tests
Diffstat (limited to 'app/services')
-rw-r--r--app/services/setup_local_account_service.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/services/setup_local_account_service.rb b/app/services/setup_local_account_service.rb
index a5ef68996..16de87e50 100644
--- a/app/services/setup_local_account_service.rb
+++ b/app/services/setup_local_account_service.rb
@@ -9,10 +9,6 @@ class SetupLocalAccountService < BaseService
     user.account.username = username
     user.account.domain   = nil
 
-    keypair = OpenSSL::PKey::RSA.new(2048)
-    user.account.private_key = keypair.to_pem
-    user.account.public_key  = keypair.public_key.to_pem
-
     user.save!
   end
 end