about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-19 12:13:47 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-19 12:13:47 +0100
commitd4892ace62cd5d73d7e4958bf98fe37244811c7f (patch)
treeb80c1f506d6a27f1909ba665d02d421d50729c67 /app
parent66a2107527485f01f54f0899fcb913f05053cd0e (diff)
Adding more test stubs
Diffstat (limited to 'app')
-rw-r--r--app/services/setup_local_account_service.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/app/services/setup_local_account_service.rb b/app/services/setup_local_account_service.rb
deleted file mode 100644
index 16de87e50..000000000
--- a/app/services/setup_local_account_service.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-class SetupLocalAccountService < BaseService
-  # Setup an account for a new user instance by generating
-  # an RSA key pair and a profile
-  # @param [User] user Unsaved user instance
-  # @param [String] username
-  def call(user, username)
-    user.build_account
-
-    user.account.username = username
-    user.account.domain   = nil
-
-    user.save!
-  end
-end