Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
feat(auth): update config to add uid and password
Browse files Browse the repository at this point in the history
uid and password can be used now to generate jwt token using credentials
  • Loading branch information
thetutlage committed Sep 26, 2016
1 parent 5e7ee1f commit 5e47a3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ module.exports = {
serializer: 'Lucid',
model: 'App/Model/User',
scheme: 'jwt',
uid: 'email',
password: 'password',
secret: Config.get('app.appKey')
},

Expand Down

0 comments on commit 5e47a3f

Please sign in to comment.