diff --git a/handler/rfc8628/strategy_hmacsha.go b/handler/rfc8628/strategy_hmacsha.go index d61ce52d5..a15648bbb 100644 --- a/handler/rfc8628/strategy_hmacsha.go +++ b/handler/rfc8628/strategy_hmacsha.go @@ -25,7 +25,7 @@ type DefaultDeviceStrategy struct { } func (h *DefaultDeviceStrategy) GenerateUserCode(ctx context.Context) (token string, signature string, err error) { - seq, err := randx.RuneSequence(8, []rune("BCDFGHJKLMNPQRSTVWXZ")) + seq, err := randx.RuneSequence(8, []rune(randx.AlphaUpperNoVowels)) if err != nil { return "", "", err }