Commit 3630f1a5dda0f2b19c5a0dcaad565c7912e9ea1f
1 parent
21750a32
Exists in
staging
and in
4 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 |