Skip to content

Commit

Permalink
Merge pull request #190 from manifoldco/verify-regex-update
Browse files Browse the repository at this point in the history
Verification codes will be 6 digit numeric values soon
  • Loading branch information
jeffandersen authored Nov 29, 2017
2 parents 2b06c7f + de70a5e commit d09e670
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Get available roles from the server

### Fixed

- Change verification code validation to support numeric codes

## [0.11.0] - 2017-11-27

### Added
Expand Down
2 changes: 1 addition & 1 deletion prompts/prompts.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
const (
namePattern = "^[a-zA-Z\\s,\\.'\\-\\pL]{1,64}$"
couponPattern = "^[0-9A-Z]{1,128}$"
codePattern = "^[0-9abcdefghjkmnpqrtuvwxyz]{16}$"
codePattern = "^([0-9]{6})$"
inviteTokenPattern = "^[a-zA-Z0-9_-]{52}$"
)

Expand Down

0 comments on commit d09e670

Please sign in to comment.