Loading CHANGELOG.md +2 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,8 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr ### Fixed - Correctly handle errors when concurrently writing new storage objects. - Correctly apply optimistic concurrency controls to individual storage objects under high write contention. - Time spent metrics are now correctly reported in milliseconds. - Password minimum length error message now correctly reflects the constraint. ## [2.7.0] - 2019-09-11 ### Added Loading server/api_link.go +1 −1 Original line number Diff line number Diff line Loading @@ -215,7 +215,7 @@ func (s *ApiServer) LinkEmail(ctx context.Context, in *api.AccountEmail) (*empty } else if invalidCharsRegex.MatchString(in.Email) { return nil, status.Error(codes.InvalidArgument, "Invalid email address, no spaces or control characters allowed.") } else if len(in.Password) < 8 { return nil, status.Error(codes.InvalidArgument, "Password must be at least 8 characters long") return nil, status.Error(codes.InvalidArgument, "Password must be at least 8 characters long.") } else if !emailRegex.MatchString(in.Email) { return nil, status.Error(codes.InvalidArgument, "Invalid email address format.") } else if len(in.Email) < 10 || len(in.Email) > 255 { Loading Loading
CHANGELOG.md +2 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,8 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr ### Fixed - Correctly handle errors when concurrently writing new storage objects. - Correctly apply optimistic concurrency controls to individual storage objects under high write contention. - Time spent metrics are now correctly reported in milliseconds. - Password minimum length error message now correctly reflects the constraint. ## [2.7.0] - 2019-09-11 ### Added Loading
server/api_link.go +1 −1 Original line number Diff line number Diff line Loading @@ -215,7 +215,7 @@ func (s *ApiServer) LinkEmail(ctx context.Context, in *api.AccountEmail) (*empty } else if invalidCharsRegex.MatchString(in.Email) { return nil, status.Error(codes.InvalidArgument, "Invalid email address, no spaces or control characters allowed.") } else if len(in.Password) < 8 { return nil, status.Error(codes.InvalidArgument, "Password must be at least 8 characters long") return nil, status.Error(codes.InvalidArgument, "Password must be at least 8 characters long.") } else if !emailRegex.MatchString(in.Email) { return nil, status.Error(codes.InvalidArgument, "Invalid email address format.") } else if len(in.Email) < 10 || len(in.Email) > 255 { Loading