Merge pull request #6349 from overleaf/jpa-password-strength-checking
[web] data collection for password strength using HaveIBeenPwned api GitOrigin-RevId: 7e4d57a979c29027fb7ca5294f3935500a0b4cf3
This commit is contained in:
@@ -216,6 +216,13 @@ module.exports = {
|
||||
url: `http://${process.env.WEBPACK_HOST || 'localhost'}:3808`,
|
||||
},
|
||||
|
||||
haveIBeenPwned: {
|
||||
enabled: process.env.HAVE_I_BEEN_PWNED_ENABLED === 'true',
|
||||
url:
|
||||
process.env.HAVE_I_BEEN_PWNED_URL || 'https://api.pwnedpasswords.com',
|
||||
timeout: parseInt(process.env.HAVE_I_BEEN_PWNED_TIMEOUT, 10) || 5 * 1000,
|
||||
},
|
||||
|
||||
// For legacy reasons, we need to populate the below objects.
|
||||
v1: {},
|
||||
recurly: {},
|
||||
|
||||
Reference in New Issue
Block a user