Remove guid and public_key from WebFinger

Related to diaspora/diaspora_federation#39
This commit is contained in:
Benjamin Neff 2017-04-30 04:13:30 +02:00
parent 5e2d063c49
commit 87d0778086
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
2 changed files with 1 additions and 5 deletions

View file

@ -20,9 +20,7 @@ DiasporaFederation.configure do |config|
profile_url: person.profile_url, profile_url: person.profile_url,
atom_url: person.atom_url, atom_url: person.atom_url,
salmon_url: person.receive_url, salmon_url: person.receive_url,
subscribe_url: AppConfig.url_to("/people?q={uri}"), subscribe_url: AppConfig.url_to("/people?q={uri}")
guid: person.guid,
public_key: person.serialized_public_key
) )
end end
end end

View file

@ -13,8 +13,6 @@ describe "diaspora federation callbacks" do
expect(wf.atom_url).to eq(person.atom_url) expect(wf.atom_url).to eq(person.atom_url)
expect(wf.salmon_url).to eq(person.receive_url) expect(wf.salmon_url).to eq(person.receive_url)
expect(wf.subscribe_url).to eq(AppConfig.url_to("/people?q={uri}")) expect(wf.subscribe_url).to eq(AppConfig.url_to("/people?q={uri}"))
expect(wf.guid).to eq(person.guid)
expect(wf.public_key).to eq(person.serialized_public_key)
end end
it "returns nil if the person was not found" do it "returns nil if the person was not found" do