fix(user): repair phone binding and profile fields
This commit is contained in:
@@ -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,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user