20201112
This commit is contained in:
@@ -363,12 +363,13 @@ class Admin extends Controller {
|
||||
}
|
||||
//验证是否存在此用户并且存在对应关系
|
||||
$this_reviewer = self::get_username($v['username']);
|
||||
if ($this_reviewer == null && self::get_userByEmail($v['email']) != null) {
|
||||
$mme = self::get_userByEmail($v['email']);
|
||||
if ($this_reviewer == null && $mme != null) {
|
||||
$er_data[] = [
|
||||
'username' => $v['username'],
|
||||
'realname' => $v['realname'],
|
||||
'email' => $v['email'],
|
||||
'reason' => 'Email occupied'
|
||||
'reason' => 'Email occupied,and username is:'.$mme['account']
|
||||
];
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user