1
This commit is contained in:
parent
b599b999a5
commit
ae117d80aa
@ -810,6 +810,13 @@ class UserController extends BaseAuthedController {
|
||||
$oldUser = User::findByAddress($address);
|
||||
if ($oldUser) {
|
||||
if ($oldUser['account_id'] != myself()->_getAccountId()) {
|
||||
if (!phpcommon\isSameSeriesAccount(
|
||||
$oldUser['account_id'],
|
||||
myself()->_getAccountId()
|
||||
)) {
|
||||
myself()->_rspErr(1, 'is not SameSeriesAccount');
|
||||
return;
|
||||
}
|
||||
User::updateOther(
|
||||
$oldUser['account_id'],
|
||||
array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user