mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-11-29 08:56:51 +01:00
Email authentication system. Integrated with PHPMailer.
When enabled, you will send an activation key to registering users, which they need to click to verify that they actually got a real email address, and to activate the account.
This commit is contained in:
@@ -8,7 +8,7 @@ $accQueriesData = array();
|
||||
|
||||
session_start();
|
||||
ob_start();
|
||||
require 'config.php';
|
||||
require_once 'config.php';
|
||||
$sessionPrefix = $config['session_prefix'];
|
||||
|
||||
if ($config['paypal']['enabled'] || $config['zeotss']['enabled']) {
|
||||
@@ -16,12 +16,13 @@ if ($config['paypal']['enabled'] || $config['zeotss']['enabled']) {
|
||||
if (!$curlcheck) die("php cURL is not enabled. It is required to for paypal and ZEOTSS services.<br>1. Find your php.ini file.<br>2. Uncomment extension=php_curl<br>Restart web server.<br><br><b>If you don't want this then disable zeotss and paypal in config.php.</b>");
|
||||
}
|
||||
|
||||
require 'database/connect.php';
|
||||
require 'function/general.php';
|
||||
require 'function/users.php';
|
||||
require 'function/cache.php';
|
||||
require 'function/token.php';
|
||||
require 'function/itemparser/itemlistparser.php';
|
||||
require_once 'database/connect.php';
|
||||
require_once 'function/general.php';
|
||||
require_once 'function/users.php';
|
||||
require_once 'function/cache.php';
|
||||
require_once 'function/mail.php';
|
||||
require_once 'function/token.php';
|
||||
require_once 'function/itemparser/itemlistparser.php';
|
||||
|
||||
if (isset($_SESSION['token'])) {
|
||||
$_SESSION['old_token'] = $_SESSION['token'];
|
||||
|
||||
Reference in New Issue
Block a user