1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/modules/auth/password
silverwind 9235442ba5
Remove external API calls in TestPassword (#30716)
The test had a dependency on `https://api.pwnedpasswords.com` which
caused many failures on CI recently:

```
--- FAIL: TestPassword (2.37s)
    pwn_test.go:41: Get "https://api.pwnedpasswords.com/range/e6b6a": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
FAIL
coverage: 82.9% of statements
```
2024-05-02 14:43:23 +00:00
..
hash Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00
pwn Remove external API calls in TestPassword (#30716) 2024-05-02 14:43:23 +00:00
password_test.go Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
password.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
pwn.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00