diff --git a/duo_universal/client.py b/duo_universal/client.py index 4e1bc03..0c78935 100644 --- a/duo_universal/client.py +++ b/duo_universal/client.py @@ -28,7 +28,7 @@ ERR_REDIRECT_URI = 'No redirect uri' ERR_CODE = 'Missing authorization code' ERR_UNKNOWN = 'An unknown error has occurred.' -ERR_GENERATE_LEN = 'Length needs to be at least 22' +ERR_GENERATE_LEN = 'Length needs to be at least 16' ERR_STATE_LEN = ('State must be at least {MIN} characters long and no longer than {MAX} characters').format( MIN=MINIMUM_STATE_LENGTH, MAX=MAXIMUM_STATE_LENGTH