Differential D20008 Diff 47808 src/applications/auth/controller/contact/PhabricatorAuthContactNumberController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/controller/contact/PhabricatorAuthContactNumberController.php
| <?php | <?php | ||||
| abstract class PhabricatorAuthContactNumberController | abstract class PhabricatorAuthContactNumberController | ||||
| extends PhabricatorAuthController { | extends PhabricatorAuthController { | ||||
| // Users may need to access these controllers to enroll in SMS MFA during | |||||
| // account setup. | |||||
| public function shouldRequireMultiFactorEnrollment() { | |||||
| return false; | |||||
| } | |||||
| public function shouldRequireEnabledUser() { | |||||
| return false; | |||||
| } | |||||
| public function shouldRequireEmailVerification() { | |||||
| return false; | |||||
| } | |||||
| protected function buildApplicationCrumbs() { | protected function buildApplicationCrumbs() { | ||||
| $crumbs = parent::buildApplicationCrumbs(); | $crumbs = parent::buildApplicationCrumbs(); | ||||
| $crumbs->addTextCrumb( | $crumbs->addTextCrumb( | ||||
| pht('Contact Numbers'), | pht('Contact Numbers'), | ||||
| pht('/settings/panel/contact/')); | pht('/settings/panel/contact/')); | ||||
| return $crumbs; | return $crumbs; | ||||
| } | } | ||||
| } | } | ||||