forked from Github-Mirrors/canaille
hotfix api url following manual failed request tests
This commit is contained in:
parent
025da08fd3
commit
56f0c9b51b
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ def compromised_password_validator(form, field):
|
|||
hashed_password[5:].upper(),
|
||||
)
|
||||
|
||||
api_url = f"https://api2.pwnedpasswords.com/range/{hashed_password_prefix}"
|
||||
api_url = f"https://api.pwnedpasswords.com/range/{hashed_password_prefix}"
|
||||
|
||||
try:
|
||||
response = requests.api.get(api_url, timeout=10)
|
||||
|
|
Loading…
Reference in a new issue