mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Merged up to 1.15.0
This commit is contained in:
@@ -117,10 +117,9 @@ if (isset($_POST['operator']) && isset($_POST['adduser']))
|
||||
|
||||
include_once("../include/sha256.php");
|
||||
|
||||
//Insert into lime_users
|
||||
//Insert into users
|
||||
$sql = "INSERT INTO users (`users_name`,`password`,`full_name`,`superadmin`,`email`)
|
||||
VALUES ($operator, '" . SHA256::hashing($_POST['password']) . "',$firstname,$admin,$email)";
|
||||
|
||||
$db->Execute($sql);
|
||||
|
||||
if (FREEPBX_PATH !== false)
|
||||
|
||||
Reference in New Issue
Block a user