mirror of https://github.com/itflow-org/itflow
Move totp.php out of functions folder into plugins then removed functions folder
This commit is contained in:
parent
772b47f2c0
commit
f29d122376
2
ajax.php
2
ajax.php
|
|
@ -9,7 +9,7 @@
|
|||
require_once "config.php";
|
||||
require_once "functions.php";
|
||||
require_once "check_login.php";
|
||||
require_once "functions/totp.php";
|
||||
require_once "plugins/totp/totp.php";
|
||||
|
||||
/*
|
||||
* Fetches SSL certificates from remote hosts & returns the relevant info (issuer, expiry, public key)
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ require_once "../config.php";
|
|||
// Set Timezone
|
||||
require_once "../inc_set_timezone.php";
|
||||
require_once "../functions.php";
|
||||
require_once "../functions/totp.php";
|
||||
require_once "../plugins/totp/totp.php";
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ if ($config_https_only && (!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] !== 'o
|
|||
|
||||
require_once "functions.php";
|
||||
|
||||
require_once "functions/totp.php";
|
||||
require_once "plugins/totp/totp.php";
|
||||
|
||||
|
||||
// IP & User Agent for logging
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ if (isset($_POST['edit_your_user_preferences'])) {
|
|||
|
||||
if (isset($_POST['verify'])) {
|
||||
|
||||
require_once "functions/totp.php";
|
||||
require_once "plugins/totp/totp.php";
|
||||
|
||||
$currentcode = intval($_POST['code']); //code to validate, for example received from device
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ $remember_token_count = mysqli_num_rows($sql_remember_tokens);
|
|||
<center>
|
||||
<?php
|
||||
|
||||
require_once 'functions/totp.php';
|
||||
require_once 'plugins/totp/totp.php';
|
||||
|
||||
//Generate a base32 Key
|
||||
$secretkey = key32gen();
|
||||
|
|
|
|||
Loading…
Reference in New Issue