mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
add min length validation to access key and secret key (#7721)
While changing the credentials through MinIO browser, Update button will be disabled if keys are lesser than minimum length. Fixes #7713
This commit is contained in:
committed by
Nitish Tiwari
parent
a73da7755e
commit
8528017ad3
@@ -28,3 +28,6 @@ export const NONE = "none"
|
||||
export const SHARE_OBJECT_EXPIRY_DAYS = 5
|
||||
export const SHARE_OBJECT_EXPIRY_HOURS = 0
|
||||
export const SHARE_OBJECT_EXPIRY_MINUTES = 0
|
||||
|
||||
export const ACCESS_KEY_MIN_LENGTH = 3
|
||||
export const SECRET_KEY_MIN_LENGTH = 8
|
||||
|
||||
Reference in New Issue
Block a user