Do not write the password salt in the source code. Instead, let KeepItSafe.txt include it.

Bug510-Abdulai
Hui Lan 2022-12-11 18:48:58 +08:00
parent 03d9c20cf7
commit 6543782ebe
1 changed files with 1 additions and 2 deletions

View File

@ -2,6 +2,5 @@
$csv = array_map('str_getcsv', file('./../../lrr_submission/KeepItSafe.txt'));
$mysql_username = $csv[0][0];
$mysql_password = $csv[0][1];
//append password for Lecturer and TA
$salt = "Lrr@2022" ;
$salt = $csv[1][1]; // the second column in the second line of KeepItSafe.txt has the salt, e.g., Lrr@2022
?>