建议将[后端的正则表达式](https://github.com/igemsoftware2018/Team_USTC_Software/blob/master/Backend/biohub/accounts/validators.py#L22)从`^\w{6,20}$`改成`^[\x20-\x7e]{6,20}$`,将[前端的密码长度限制](https://github.com/igemsoftware2018/Team_USTC_Software/blob/master/Frontend/src/app/my-personal-center/user-set/user-account/user-account.component.ts#L40)从 7 和 30 改成 6 和 20 以与后端一致。 P.S.其实也可以将后端的正则表达式直接改成`^[\x20-\x7e]{7,30}$`以与前端一致的,但是我作为一个外人也不是很清楚你们其他地方还有没有别的限制了。。。还是严格一点吧。