Add - warning that pre-shared key will be generated and added to config if not present

Signed-off-by: Rob White <rob@blue-wave.net>
This commit is contained in:
Rob White
2023-10-12 15:59:18 +01:00
parent 249bd91956
commit 48784b71ff

View File

@@ -47,8 +47,12 @@
*/
// Set the pre-shared key. This **MUST** be the same as faskey in the openNDS config:
$key="1234567890q";
// Set the pre-shared key. This **MUST** be the same as faskey in the openNDS config.
// Note: the default value of 1234567890 will not be accepted.
// For example, use the sha256 hash of a secret string, but note also that if not present in the openNDS config, one will be generated and added.
// See: /etc/config/opennds on the router.
$key="c775e7b757ede630cd0aa1113bd102661ab38829ca52a6422ab782862f268646";
// Allow immediate flush to browser
if (ob_get_level()){ob_end_clean();}