From ccd06f61a9110c9c7308cc0a0f70ff828e4227fe Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 10 Aug 2023 15:06:21 +0800 Subject: [PATCH] 1 --- webapp/controller/UserController.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/controller/UserController.class.php b/webapp/controller/UserController.class.php index c8234006..01570bd6 100644 --- a/webapp/controller/UserController.class.php +++ b/webapp/controller/UserController.class.php @@ -809,7 +809,9 @@ class UserController extends BaseAuthedController { $address = strtolower($rspObj['data']['address']); $oldUser = User::findByAddress($address); if ($oldUser) { + if ($oldUser['account_id'] != myself()->_getAccountId()) { + } } else { User::Update(array( 'address' => $address