Skip to content

Commit

Permalink
fix: really really fix AuthPolicy setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rupl committed Dec 1, 2021
1 parent 48f5f6a commit db19788
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/policies/AuthPolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ async function isTOTPValid(user, token) {
}

module.exports = {
isTOTPValid,

/**
* Enforces an _optional_ TOTP requirement. If the user has 2FA enabled, they
* must answer this challenge. Users without 2FA enabled will pass through.
Expand Down

0 comments on commit db19788

Please # to comment.