Justman100 commented on code in PR #785:
URL: https://github.com/apache/incubator-answer/pull/785#discussion_r1504077579
##########
pkg/checker/username.go:
##########
@@ -22,7 +22,7 @@ package checker
import "regexp"
var (
- usernameReg = regexp.MustCompile(`^[a-z0-9._-]{4,30}$`)
+ usernameReg = regexp.MustCompile(`^[A-Za-z0-9._-]{1,32}$`)
Review Comment:
Nobody cares if someone chooses a capitalised user name during installation,
and one should be able to do that! Besides, one could go into the database
after the installation and change it anyway...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]