[codespell]: Fix typos.

http-upload-enforce-https
Martin Dosch 7 months ago
parent 4be448c7eb
commit 2fbf3b40e7
No known key found for this signature in database
GPG Key ID: 52A57CFCE13D657D

@ -229,7 +229,7 @@ func main() {
os.Exit(0)
}
// Check whether an authentification mechanism is pinned.
// Check whether an authentication mechanism is pinned.
authMech, _ := parsePinFile(user)
// Set XMPP connection options.
@ -296,12 +296,12 @@ func main() {
if err != nil {
log.Fatal(err)
}
// If no authentification mechanism is pinned and a SCRAM mechanism is
// If no authentication mechanism is pinned and a SCRAM mechanism is
// used, write the used mechanism to the pin file.
if authMech == "" && strings.HasPrefix(client.Mechanism, "SCRAM") {
err = writePinFile(client.Mechanism, user)
if err != nil {
log.Println("could not write authentification mechanism pin file:", err)
log.Println("could not write authentication mechanism pin file:", err)
}
}

Loading…
Cancel
Save