( ! ) Fatal error: Uncaught RuntimeException: Insecure configuration for APP_ENV=production: - JWT_SECRET must be a unique random value of at least 32 characters in /home/websms-console/web/src/Support/SecurityConfig.php on line 69
( ! ) RuntimeException: Insecure configuration for APP_ENV=production: - JWT_SECRET must be a unique random value of at least 32 characters in /home/websms-console/web/src/Support/SecurityConfig.php on line 69
Call Stack
#TimeMemoryFunctionLocation
10.0000433184{main}( ).../index.php:0
20.0003445136require( '/home/websms-console/web/app/bootstrap-slim4.php ).../index.php:13
30.01681822248SMP\Dashboard\Support\SecurityConfig::assertSafe( $app = ['name' => 'SMS Dashboard', 'env' => 'production', 'debug' => FALSE, 'url' => 'http://localhost', 'timezone' => 'UTC', 'locale' => 'en', 'display_error_details' => FALSE, 'log_errors' => TRUE, 'log_error_details' => TRUE], $jwt = ['secret' => 'change-this-secret-key', 'algorithm' => 'HS256', 'expiry' => 3600, 'refresh_expiry' => 2592000, 'issuer' => 'http://localhost', 'audience' => 'http://localhost'], $cors = ['allowed_origins' => [0 => 'http://localhost:5173'], 'allowed_methods' => [0 => 'GET', 1 => 'POST', 2 => 'PUT', 3 => 'DELETE', 4 => 'OPTIONS', 5 => 'PATCH'], 'allowed_headers' => [0 => 'Content-Type', 1 => 'Authorization', 2 => 'X-Requested-With'], 'exposed_headers' => [0 => 'X-Request-Id', 1 => 'X-Total-Count'], 'max_age' => 3600, 'supports_credentials' => TRUE] ).../bootstrap-slim4.php:30