Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-30 22:06:11 +01:00
forgejo/modules/auth/password
silverwind fb693442f5
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
```

(cherry picked from commit 9235442ba58524c8d12ae54865d583acfa1f439d)
2024-05-05 12:15:40 +01:00
..
hash [GITEA] Drop sha256-simd in favor of stdlib 2024-02-05 16:09:40 +01:00
pwn Remove external API calls in TestPassword (#30716) 2024-05-05 12:15:40 +01:00
password.go Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
password_test.go Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
pwn.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00