From cc9b6ce77c7f3bb0b592fca04120178f089a8e16 Mon Sep 17 00:00:00 2001 From: Piotr Pawlow Date: Sun, 19 Mar 2017 20:30:00 +0100 Subject: Add a warning that secret argument is insecure. --- auth.php | 1 + 1 file changed, 1 insertion(+) (limited to 'auth.php') diff --git a/auth.php b/auth.php index 739123a..5c0ef9b 100644 --- a/auth.php +++ b/auth.php @@ -22,6 +22,7 @@ $options = getopt("c:", [ 'digits:', 'delay:' ]); +if (isset($options['secret'])) echo "!!! PODAWANIE SEKRETU JAKO ARGUMENT NIE JEST BEZPIECZNE !!!\n"; if (isset($options['c'])) $config = load_config($options['c']); else $config = new stdClass(); $config_default = load_config(__DIR__.'/config_default.json'); -- cgit v1.2.3