diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 12:13:47 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 12:13:47 +0100 |
commit | d4892ace62cd5d73d7e4958bf98fe37244811c7f (patch) | |
tree | b80c1f506d6a27f1909ba665d02d421d50729c67 /app/services/setup_local_account_service.rb | |
parent | 66a2107527485f01f54f0899fcb913f05053cd0e (diff) |
Adding more test stubs
Diffstat (limited to 'app/services/setup_local_account_service.rb')
-rw-r--r-- | app/services/setup_local_account_service.rb | 14 |
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 |