Add SMS OTP, harden auth, and fix order/checkout server bugs.
Ship 4-digit OTP with rate-limit attempts, Tehran-safe expiry/rass math, larger JSON body limit for check images, and safer order pricing/status guards. Include rebuilt dist for prebuilt deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Vendored
+1
-1
@@ -48,7 +48,7 @@ __decorate([
|
||||
], VerifyOtpDto.prototype, "phone", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsString)(),
|
||||
(0, class_validator_1.MinLength)(4),
|
||||
(0, class_validator_1.Length)(4, 4),
|
||||
__metadata("design:type", String)
|
||||
], VerifyOtpDto.prototype, "code", void 0);
|
||||
class AdminLoginDto {
|
||||
|
||||
Reference in New Issue
Block a user