| xqd
@@ -141,10 +141,6 @@ class AdminUser extends BaseProcess
|
|
|
$data['password'] = bcrypt($data['password']);
|
|
|
}
|
|
|
if(isset($data['name']) && $data['name']) {
|
|
|
- if(is_numeric($data['name'])) {
|
|
|
- $this->setMsg("用户名不能是全数字!");
|
|
|
- return false;
|
|
|
- }
|
|
|
if(strpos($data['name'],"@")) {
|
|
|
$this->setMsg("用户名不能有@符号!");
|
|
|
return false;
|