Skip to content

Commit

Permalink
Switch to using ParagonIE library from Tōtara core
Browse files Browse the repository at this point in the history
  • Loading branch information
Noemie Ariste committed Sep 20, 2023
1 parent dad8761 commit 9e7ecef
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 583 deletions.
6 changes: 3 additions & 3 deletions factor/totp/classes/factor.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
require_once(__DIR__.'/../extlib/Assert/Assertion.php');
require_once(__DIR__.'/../extlib/Assert/AssertionFailedException.php');
require_once(__DIR__.'/../extlib/Assert/InvalidArgumentException.php');
require_once(__DIR__.'/../extlib/ParagonIE/ConstantTime/EncoderInterface.php');
require_once(__DIR__.'/../extlib/ParagonIE/ConstantTime/Binary.php');
require_once(__DIR__.'/../extlib/ParagonIE/ConstantTime/Base32.php');
require_once($CFG->libraries.'/required/paragonie/constant_time_encoding/src/EncoderInterface.php');
require_once($CFG->libraries.'/required/paragonie/constant_time_encoding/src/Binary.php');
require_once($CFG->libraries.'/required/paragonie/constant_time_encoding/src/Base32.php');

use tool_mfa\local\factor\object_factor_base;
use OTPHP\TOTP;
Expand Down
Loading

0 comments on commit 9e7ecef

Please sign in to comment.