diff options
| author | Piotr Pawlow <pp@siedziba.pl> | 2017-03-19 20:30:00 +0100 |
|---|---|---|
| committer | Piotr Pawlow <pp@siedziba.pl> | 2017-03-19 20:30:00 +0100 |
| commit | cc9b6ce77c7f3bb0b592fca04120178f089a8e16 (patch) | |
| tree | 7ab96fc20baa2fa9f8ee9a3f61908fa11c7137f1 | |
| parent | a120fa86554674a5d2e564568ccfe99046e9995b (diff) | |
Add a warning that secret argument is insecure.
| -rw-r--r-- | auth.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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'); |
