Do not write the password salt in the source code. Instead, let KeepItSafe.txt include it.
parent
03d9c20cf7
commit
6543782ebe
|
@ -2,6 +2,5 @@
|
||||||
$csv = array_map('str_getcsv', file('./../../lrr_submission/KeepItSafe.txt'));
|
$csv = array_map('str_getcsv', file('./../../lrr_submission/KeepItSafe.txt'));
|
||||||
$mysql_username = $csv[0][0];
|
$mysql_username = $csv[0][0];
|
||||||
$mysql_password = $csv[0][1];
|
$mysql_password = $csv[0][1];
|
||||||
//append password for Lecturer and TA
|
$salt = $csv[1][1]; // the second column in the second line of KeepItSafe.txt has the salt, e.g., Lrr@2022
|
||||||
$salt = "Lrr@2022" ;
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue