Re-nullify chubbies output and correctly handle diaspora_id param in create_account
This commit is contained in:
parent
76b0f31020
commit
c95f80be42
2 changed files with 2 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class Chubbies
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.nullify
|
def self.nullify
|
||||||
# "2> /dev/null > /dev/null"
|
"2> /dev/null > /dev/null"
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.kill
|
def self.kill
|
||||||
|
|
|
||||||
|
|
@ -76,6 +76,7 @@ module Chubbies
|
||||||
User
|
User
|
||||||
end
|
end
|
||||||
def create_account(hash)
|
def create_account(hash)
|
||||||
|
hash[:username] = hash.delete(:diaspora_id)
|
||||||
account_const.create(hash)
|
account_const.create(hash)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue