mirror of
https://github.com/pushbits/server.git
synced 2025-08-03 08:39:09 +02:00
Repair channels if necessary
This commit is contained in:
parent
f5560b0c46
commit
2e2326843f
12 changed files with 114 additions and 31 deletions
|
@ -26,7 +26,7 @@ func IsPasswordPwned(password string) (bool, error) {
|
|||
lookup := hashStr[0:5]
|
||||
match := hashStr[5:]
|
||||
|
||||
log.Printf("Checking HIBP for hashes starting with '%s'.\n", lookup)
|
||||
log.Printf("Checking HIBP for hashes starting with '%s'.", lookup)
|
||||
|
||||
resp, err := http.Get(pwnedHashesURL + lookup)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue