feat: add admin auth

This commit is contained in:
2026-06-01 18:08:38 +03:30
parent 967b96184a
commit 39e6c96113
12 changed files with 121 additions and 12 deletions
+1
View File
@@ -48,5 +48,6 @@ import { AuthRedisProvider } from './providers/auth-redis.provider';
useClass: GlobalAuthGuard,
},
],
exports: [GenerateTokenProvider],
})
export class AuthModule {}
@@ -3,6 +3,5 @@ Content-Type: application/json
lang: fa
{
"phone": "09333026363",
"password": "Password1@"
"phone": "09121111111"
}
@@ -2,6 +2,6 @@ POST http://localhost:3000/auth/verify-otp
Content-Type: application/json
{
"phone": "09333026363",
"otp": "44875"
"phone": "09121111111",
"otp": "69210"
}