diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-11 11:17:55 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-11 11:17:55 +0100 |
| commit | ce73133c4e982db99f218bf930d82eb991ce81e3 (patch) | |
| tree | cb15654419b8e912296ac9cea6deef068099910a /bucky/util/auth.js | |
| parent | b6992903b7fe2a0aad9e6e47b0c14122b448b11c (diff) | |
profile
Diffstat (limited to 'bucky/util/auth.js')
| -rw-r--r-- | bucky/util/auth.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bucky/util/auth.js b/bucky/util/auth.js index 41cd155..32d77e8 100644 --- a/bucky/util/auth.js +++ b/bucky/util/auth.js @@ -82,13 +82,6 @@ var auth = module.exports = { }) }, - sanitizeUser: function (req_user) { - // sanitize user object - var user = JSON.parse(JSON.stringify(req_user)) - delete user.password - return user - }, - checkin: function (req, res) { var user = auth.sanitizeUser(req.user) res.json(user) |
