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:
62
old/css/custom.css
Normal file
62
old/css/custom.css
Normal file
@@ -0,0 +1,62 @@
|
||||
form {
|
||||
width: 700px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 0;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #d1d1d1;
|
||||
padding: 20px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
[haserror="yes"] {
|
||||
border: 2px solid tomato !important;
|
||||
}
|
||||
|
||||
fieldset.constant {
|
||||
display: none;
|
||||
}
|
||||
|
||||
fieldset.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sum_removing {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.error-message {
|
||||
color: tomato;
|
||||
}
|
||||
|
||||
.claim_additional {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#tour-product,
|
||||
#tour-accomodation,
|
||||
#tour-transportation,
|
||||
#tour-other {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.autocomplete {
|
||||
padding: 10px 10px 10px 10px;
|
||||
border: 1px solid #f3f3f3;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.autocomplete.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.autocomplete__item {
|
||||
padding: 2px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.autocomplete__item:hover {
|
||||
cursor: pointer;
|
||||
background-color: #f3f3f3;
|
||||
}
|
||||
Reference in New Issue
Block a user