variable names not caught in refactor

master
Brady McDonough 2 years ago
parent d63febc0ad
commit 487a7edb50

@ -71,7 +71,7 @@ class UserManagement implements WorkflowInterface
$html .= "</form></div>"; $html .= "</form></div>";
$values = [ $values = [
"%frm" => $this->ri->formProps("unenroll"), "%frm" => $this->request->formProps("unenroll"),
]; ];
return \str_replace(\array_keys($values), $values, $html); return \str_replace(\array_keys($values), $values, $html);
@ -106,7 +106,7 @@ class UserManagement implements WorkflowInterface
$this->clock, $this->clock,
$this->hash $this->hash
); );
$flag = $totp.validate($this->ri->getResp("totp_challenge")); $flag = $totp.validate($this->request->getResp("totp_challenge"));
if($flag && $enrollFlag) if($flag && $enrollFlag)
{ {

Loading…
Cancel
Save