Commit 7f4ee2e0392433f448897a1a20846bf6bc7066d4

Authored by Victor Costa
Committed by Leandro Santos
1 parent 020497a0

api: return private token when signup

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/noosfero/api/session.rb
... ... @@ -40,7 +40,7 @@ module Noosfero
40 40 user = User.new(attrs)
41 41 if user.save
42 42 user.activate
43   - present user, :with => Entities::User
  43 + present user, :with => Entities::UserLogin
44 44 else
45 45 something_wrong!
46 46 end
... ...