Skip to content

Commit

Permalink
Merge pull request #10 from fabrix-app/v1.6
Browse files Browse the repository at this point in the history
[fix] bad config
  • Loading branch information
scott-wyatt authored Mar 7, 2019
2 parents 65be761 + 26ac31f commit 06da877
Show file tree
Hide file tree
Showing 4 changed files with 641 additions and 523 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/api/services/PassportService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export class PassportService extends Service {
* @returns {*}
*/
logout(req, user) {
const onUserLogout = this.app.config.get('config.passport.onUserLogout')
const onUserLogout = this.app.config.get('passport.onUserLogout')

if (onUserLogout instanceof Object && typeof onUserLogout !== 'function') {
const promises = []
Expand Down
Loading

0 comments on commit 06da877

Please sign in to comment.