fix(user): repair phone binding and profile fields

This commit is contained in:
2026-10-05 20:55:20 +08:00
parent 0cf4639d95
commit f646fa8573
15 changed files with 627 additions and 162 deletions
@@ -131,7 +131,7 @@ trait UserControllerAuthPhoneOperations {
private function auth_find_user(string $target, string $channel) {
if ($channel === 'phone') {
$users = get_users([
'meta_key' => 'aksrt_phone',
'meta_key' => 'phone_number',
'meta_value' => $target,
'number' => 1,
]);