You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2021. It is now read-only.
// ErrNameAlreadyInUse is returned when name is already in use
57
59
ErrNameAlreadyInUse=status.Error(codes.AlreadyExists, "name is already in use")
58
-
// ErrTooLongPassword will be returned when password is too long
59
-
ErrTooLongPassword=status.Error(codes.InvalidArgument, fmt.Sprintf("length of password must be less than %v", MaxPasswordLength+1))
60
+
// ErrOutOfRangePasswordLength will be returned when password length is out of range
61
+
ErrOutOfRangePasswordLength=status.Error(codes.InvalidArgument, fmt.Sprintf("length of password must be less than %v and more than %v", MaxPasswordLength+1, MinPasswordLength-1))
0 commit comments