You've already forked php-auth
generated from siteworxpro/Php-Template
Password reset and email
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Failing after 1m19s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m9s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Failing after 1m19s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 1m34s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Failing after 1m20s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Failing after 12s
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Failing after 1m19s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m9s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Failing after 1m19s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 1m34s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Failing after 1m20s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Failing after 12s
This commit is contained in:
17
config.php
17
config.php
@@ -9,6 +9,7 @@ return [
|
||||
'dev_mode' => Env::get('DEV_MODE', false, 'bool'),
|
||||
'url' => Env::get('APP_URL', 'https://localhost'),
|
||||
'encryption_key' => Env::get('APP_ENCRYPTION_KEY', 'base64:change_me'),
|
||||
'default_support_email' => Env::get('DEFAULT_SUPPORT_EMAIL', 'no@email.com'),
|
||||
],
|
||||
|
||||
/**
|
||||
@@ -36,6 +37,22 @@ return [
|
||||
],
|
||||
],
|
||||
|
||||
'mailer' => [
|
||||
'driver' => Env::get('MAILER_DRIVER', 'log'), // Options: 'log', 'smtp'
|
||||
|
||||
'log' => [
|
||||
'log_file' => Env::get('MAILER_LOG_FILE', 'php://stdout'),
|
||||
],
|
||||
|
||||
'smtp' => [
|
||||
'host' => Env::get('SMTP_HOST', 'localhost'),
|
||||
'port' => Env::get('SMTP_PORT', 25, 'int'),
|
||||
'username' => Env::get('SMTP_USERNAME', ''),
|
||||
'password' => Env::get('SMTP_PASSWORD', ''),
|
||||
'encryption' => Env::get('SMTP_ENCRYPTION', 'none'), // Options: 'ssl', 'starttls', 'none'
|
||||
],
|
||||
],
|
||||
|
||||
'cors' => [
|
||||
'allowed_origins' => Env::get('CORS_ALLOWED_ORIGINS', 'localhost:3000'),
|
||||
'allow_credentials' => Env::get('CORS_ALLOW_CREDENTIALS', true, 'bool'),
|
||||
|
||||
Reference in New Issue
Block a user