Differential D21779 Diff 51935 src/applications/auth/management/PhabricatorAuthManagementRecoverWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/management/PhabricatorAuthManagementRecoverWorkflow.php
<?php | <?php | ||||
final class PhabricatorAuthManagementRecoverWorkflow | final class PhabricatorAuthManagementRecoverWorkflow | ||||
extends PhabricatorAuthManagementWorkflow { | extends PhabricatorAuthManagementWorkflow { | ||||
protected function didConstruct() { | protected function didConstruct() { | ||||
$this | $this | ||||
->setName('recover') | ->setName('recover') | ||||
->setExamples('**recover** __username__') | ->setExamples('**recover** __username__') | ||||
->setSynopsis( | ->setSynopsis( | ||||
pht( | pht( | ||||
'Recover access to an account if you have locked yourself out '. | 'Recover access to an account if you have locked yourself out.')) | ||||
'of Phabricator.')) | |||||
->setArguments( | ->setArguments( | ||||
array( | array( | ||||
array( | array( | ||||
'name' => 'force-full-session', | 'name' => 'force-full-session', | ||||
'help' => pht( | 'help' => pht( | ||||
'Recover directly into a full session without requiring MFA '. | 'Recover directly into a full session without requiring MFA '. | ||||
'or other login checks.'), | 'or other login checks.'), | ||||
), | ), | ||||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |