Commit d1dfa3a80c43c7945935cbcbbe8371516583754c
Committed by
Rodrigo Souto
1 parent
29b84971
Exists in
master
and in
29 other branches
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,7 +40,7 @@ module Noosfero | ||
40 | user = User.new(attrs) | 40 | user = User.new(attrs) |
41 | if user.save | 41 | if user.save |
42 | user.activate | 42 | user.activate |
43 | - present user, :with => Entities::User | 43 | + present user, :with => Entities::UserLogin |
44 | else | 44 | else |
45 | something_wrong! | 45 | something_wrong! |
46 | end | 46 | end |