2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Remove limesurvey!

Make session authentication work without limesurvey itself
This commit is contained in:
Adam Zammit
2017-01-09 16:16:15 +11:00
parent 7dde017c9a
commit d2f56f0a58
2438 changed files with 246 additions and 597734 deletions

View File

@@ -118,8 +118,8 @@ if (isset($_POST['operator']) && isset($_POST['adduser']))
include_once("../include/sha256.php");
//Insert into lime_users
$sql = "INSERT INTO " . LIME_PREFIX . "users (`users_name`,`password`,`full_name`,`parent_id`,`superadmin`,`email`,`lang`)
VALUES ($operator, '" . SHA256::hashing($_POST['password']) . "',$firstname,1,$admin,$email,'auto')";
$sql = "INSERT INTO users (`users_name`,`password`,`full_name`,`superadmin`,`email`)
VALUES ($operator, '" . SHA256::hashing($_POST['password']) . "',$firstname,$admin,$email)";
$db->Execute($sql);