Differential D20023 Diff 47820 src/applications/auth/xaction/PhabricatorAuthContactNumberNumberTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/xaction/PhabricatorAuthContactNumberNumberTransaction.php
| Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | foreach ($xactions as $xaction) { | ||||
| if ($other->getID() !== $object->getID()) { | if ($other->getID() !== $object->getID()) { | ||||
| $errors[] = $this->newInvalidError( | $errors[] = $this->newInvalidError( | ||||
| pht('Contact number is already in use.'), | pht('Contact number is already in use.'), | ||||
| $xaction); | $xaction); | ||||
| continue; | continue; | ||||
| } | } | ||||
| } | } | ||||
| $mfa_error = $this->newContactNumberMFAError($object, $xaction); | |||||
| if ($mfa_error) { | |||||
| $errors[] = $mfa_error; | |||||
| continue; | |||||
| } | |||||
| } | } | ||||
| return $errors; | return $errors; | ||||
| } | } | ||||
| } | } | ||||