You've already forked step-ca-cli
mirror of
https://github.com/smallstep/cli.git
synced 2025-08-09 03:22:43 +03:00
Rename randutil methods.
This commit is contained in:
@@ -282,12 +282,12 @@ type oauth struct {
|
||||
}
|
||||
|
||||
func newOauth(provider, clientID, clientSecret, authzEp, tokenEp, scope, loginHint string) (*oauth, error) {
|
||||
state, err := randutil.GenerateRandomRestrictedString(32)
|
||||
state, err := randutil.Alphanumeric(32)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
challenge, err := randutil.GenerateRandomRestrictedString(64)
|
||||
challenge, err := randutil.Alphanumeric(64)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user