Commit 4fc57390 authored by Franco Fichtner's avatar Franco Fichtner

contrib: move Base32 implementation to own subdir

parent 7a068d5b
<?php <?php
/** /**
* Copyright (C) 2015 Deciso B.V. * Copyright (C) 2015 Deciso B.V.
* *
...@@ -29,7 +30,7 @@ ...@@ -29,7 +30,7 @@
namespace OPNsense\Auth; namespace OPNsense\Auth;
require_once("Base32.php"); require_once 'base32/Base32.php';
/** /**
* RFC 6238 TOTP: Time-Based One-Time Password Authenticator * RFC 6238 TOTP: Time-Based One-Time Password Authenticator
......
...@@ -28,8 +28,9 @@ ...@@ -28,8 +28,9 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
require_once("guiconfig.inc");
require_once("Base32.php"); require_once 'guiconfig.inc';
require_once 'base32/Base32.php';
function get_user_privdesc(& $user) function get_user_privdesc(& $user)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment