Commit f9079cfb authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Update changelog.

parent 19996a89
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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 {