feat: Secure SMS verification with Redis (Predis)
- Added Predis library for Redis connection (no PHP extension required) - Server-side SMS code generation and storage in Redis - Rate limiting and brute-force protection - Integration with n8n webhook for SMS sending - Environment variables moved to .env file - Fixed policy verification endpoint - Added file-based fallback if Redis unavailable
This commit is contained in:
32
.gitignore
vendored
Normal file
32
.gitignore
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
# Логи
|
||||
logs/
|
||||
*.log
|
||||
|
||||
# Временные файлы
|
||||
*.tmp
|
||||
*.temp
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Системные файлы
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
.idea/
|
||||
.vscode/
|
||||
|
||||
# Файлы загрузок (если есть временная папка)
|
||||
uploads/temp/
|
||||
tmp/
|
||||
|
||||
# Конфигурационные файлы с секретами
|
||||
config.local.php
|
||||
.env.local
|
||||
.env
|
||||
|
||||
# Composer dependencies
|
||||
vendor/
|
||||
|
||||
# Storage (SMS коды и прочее)
|
||||
storage/
|
||||
|
||||
Reference in New Issue
Block a user