linter fixes.

This commit is contained in:
2025-11-16 18:39:18 -08:00
parent 0dcd18c6f1
commit c999bf35b0
4 changed files with 10 additions and 9 deletions

View File

@@ -71,10 +71,10 @@ func (o OATH) URL(t Type, label string) string {
v.Add("digits", fmt.Sprintf("%d", o.Size()))
}
switch {
case o.algo == crypto.SHA256:
switch o.algo {
case crypto.SHA256:
v.Add("algorithm", "SHA256")
case o.algo == crypto.SHA512:
case crypto.SHA512:
v.Add("algorithm", "SHA512")
}