MS the deploy config is wrong
This commit is contained in:
parent
12f6872484
commit
77bd68e7c7
2 changed files with 3 additions and 3 deletions
|
|
@ -290,7 +290,7 @@ class User
|
||||||
|
|
||||||
###Helpers############
|
###Helpers############
|
||||||
def self.instantiate!( opts = {} )
|
def self.instantiate!( opts = {} )
|
||||||
opts[:person][:diaspora_handle] = opts[:email]
|
#opts[:person][:diaspora_handle] = opts[:email]
|
||||||
opts[:person][:serialized_key] = generate_key
|
opts[:person][:serialized_key] = generate_key
|
||||||
User.create!(opts)
|
User.create!(opts)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ remote_url = "http://tom.joindiaspora.com/"
|
||||||
user = User.instantiate!( :email => "tom@tom.joindiaspora.com",
|
user = User.instantiate!( :email => "tom@tom.joindiaspora.com",
|
||||||
:username => "tom",
|
:username => "tom",
|
||||||
:password => "evankorth",
|
:password => "evankorth",
|
||||||
:url=> "http://#{username}.joindiaspora.com/",
|
:url => remote_url,
|
||||||
:person => {
|
:person => {
|
||||||
:diaspora_handle => "tom@tom.joindiaspora.com",
|
:diaspora_handle => "tom@tom.joindiaspora.com",
|
||||||
:url => remote_url,
|
:url => remote_url,
|
||||||
|
|
@ -23,7 +23,7 @@ user.person.save!
|
||||||
user2 = User.instantiate!( :email => "korth@tom.joindiaspora.com",
|
user2 = User.instantiate!( :email => "korth@tom.joindiaspora.com",
|
||||||
:password => "evankorth",
|
:password => "evankorth",
|
||||||
:username => "korth",
|
:username => "korth",
|
||||||
:url=> "http://#{username}.joindiaspora.com/",
|
:url => remote_url,
|
||||||
:person => { :diaspora_handle => "korth@tom.joindiaspora.com",
|
:person => { :diaspora_handle => "korth@tom.joindiaspora.com",
|
||||||
:url => remote_url,
|
:url => remote_url,
|
||||||
:profile => { :first_name => "Evan",
|
:profile => { :first_name => "Evan",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue