Skip to content

Commit

Permalink
remove hashed_password & salt from /user
Browse files Browse the repository at this point in the history
  • Loading branch information
lefnire committed Mar 20, 2013
1 parent 9255644 commit 5580fd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/api.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ router.get '/user', auth, (req, res) ->
user.stats.maxHealth = 50

delete user.apiToken
delete user.auth.hashed_password
delete user.auth.salt

res.json user

Expand Down

0 comments on commit 5580fd6

Please sign in to comment.