refactor: changed otp to use cache

This commit is contained in:
2026-07-29 15:46:25 +03:30
parent 2cfda9ca45
commit ce0b98783c
6 changed files with 209 additions and 64 deletions
+4
View File
@@ -20,7 +20,9 @@
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@keyv/redis": "^5.1.6",
"@nestjs/axios": "^4.0.1",
"@nestjs/cache-manager": "^3.1.3",
"@nestjs/common": "^11.1.28",
"@nestjs/config": "^4.0.4",
"@nestjs/core": "^11.1.28",
@@ -31,9 +33,11 @@
"@nestjs/typeorm": "^11.0.3",
"axios": "^1.18.1",
"bcrypt": "^6.0.0",
"cache-manager": "^7.2.9",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.1",
"joi": "^18.2.3",
"keyv": "^5.6.0",
"ms": "^2.1.3",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",