Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/factor/PhabricatorAuthFactor.php
Context not available. | |||||
$sync_token = null; | $sync_token = null; | ||||
$sync_key = $request->getStr($this->getMFASyncTokenFormKey()); | $sync_key = $request->getStr($this->getMFASyncTokenFormKey()); | ||||
if (strlen($sync_key)) { | if (@strlen($sync_key)) { | ||||
$sync_key_digest = PhabricatorHash::digestWithNamedKey( | $sync_key_digest = PhabricatorHash::digestWithNamedKey( | ||||
$sync_key, | $sync_key, | ||||
PhabricatorAuthMFASyncTemporaryTokenType::DIGEST_KEY); | PhabricatorAuthMFASyncTemporaryTokenType::DIGEST_KEY); | ||||
Context not available. | |||||
$rows = array(); | $rows = array(); | ||||
foreach ($lines as $line) { | foreach ($lines as $line) { | ||||
$cells = array(); | $cells = array(); | ||||
for ($ii = 0; $ii < strlen($line); $ii++) { | for ($ii = 0; $ii < @strlen($line); $ii++) { | ||||
if ($line[$ii] == '1') { | if ($line[$ii] == '1') { | ||||
$color = '#000'; | $color = '#000'; | ||||
} else { | } else { | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0