@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use numeric input control for TOTP factor entry

Summary:
Finishes fixing T11365. rP28199bcb48 added the new numeric entry
control and used it for TOTP setup, but missed the case of entering
a factor when TOTP was already set up.

Test Plan:
Observe behaviour of TOTP setup and subsequent factor entry
in iOS browser, make sure they're consistent.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley

Maniphest Tasks: T11365

Differential Revision: https://secure.phabricator.com/D16325

authored by

Daniel Stone and committed by
epriestley
29d6e5fd 020df6f5

+1 -1
+1 -1
src/applications/auth/factor/PhabricatorTOTPAuthFactor.php
··· 151 151 } 152 152 153 153 $form->appendChild( 154 - id(new AphrontFormTextControl()) 154 + id(new PHUIFormNumberControl()) 155 155 ->setName($this->getParameterName($config, 'totpcode')) 156 156 ->setLabel(pht('App Code')) 157 157 ->setCaption(pht('Factor Name: %s', $config->getFactorName()))