|
@@ -229,7 +229,7 @@ public class StudentController extends ControllerSupport {
|
|
|
throw new StatusException("B-450111", "新密码为空");
|
|
|
}
|
|
|
if (!newPassword.matches("[a-zA-Z0-9]{6,18}")) {
|
|
|
- throw new StatusException("B-450111", "密码必须为6至18位字母和数字组合");
|
|
|
+ throw new StatusException("B-450111", "密码必须是6至18位字母或数字");
|
|
|
}
|
|
|
|
|
|
Student s = studentRepo.findOne(accessUser.getStudentId());
|