From 7f26ff5fc9027fac05ad6d2f0878f6879fe2463c Mon Sep 17 00:00:00 2001 From: newtechAI Date: Wed, 6 Dec 2023 03:23:42 +0100 Subject: [PATCH] bug 352 update 6-12-23 --- Admin.php | 2 +- Script.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Admin.php b/Admin.php index 3234bf3..6dc676e 100644 --- a/Admin.php +++ b/Admin.php @@ -73,7 +73,7 @@ if ($_SESSION['user_type'] != "Lecturer" && $_SESSION['user_type'] != "Admin") {
Initial password - + Leave it empty to let LRR generate a strong password for you.

User type: diff --git a/Script.php b/Script.php index c817ac5..028baf8 100644 --- a/Script.php +++ b/Script.php @@ -289,7 +289,7 @@ if (!empty($_POST["form_createlecturrer"])){ $email = mysqli_real_escape_string($con, $_POST["email"]); $fullname = mysqli_real_escape_string($con, $_POST["fullname"]); $type = mysqli_real_escape_string($con, $_POST["type"]); - $password = mysqli_real_escape_string($con, $_POST["passport"]); + $password = mysqli_real_escape_string($con, $_POST["password"]); $pass_len=strlen($password); if ($pass_len==0) { $password = generateStrongPassword();