hicsail/anchor

Auth-Attempts Timeout

Closed this issue · 1 comments

  • Modify the abuseDetected function in auth-attempts to count within a certain time period.
  • Use Config.get('/authAttempts/hours'); to get the number of hours the account will be locked for.
  • Add hours to authAttempts in config.js
authAttempts: {
    forIp: 50,
    forIpAndUser: 7,
    hours: 1
  }

Closing in #186