Commit Graph

51 Commits

Author SHA1 Message Date
bd76ece556 update pnpm-lock.yaml 2023-06-06 00:12:40 +08:00
ba71e011f0 记录邮箱验证码发送 2023-03-02 17:27:21 +08:00
faf34c241b 邮箱验证码校验失败时,抛出403错误 2023-03-02 16:24:18 +08:00
7e5a1c589d jsonwebtoken 2023-02-28 18:27:29 +08:00
388f2869fd logout 2023-02-28 00:52:48 +08:00
699897b071 use cookie to send refreshToken 2023-02-27 23:50:56 +08:00
9be9a1a2b3 add EmailSendResponse 2023-02-27 09:16:41 +08:00
abf41f3c95 验证邮箱验证码 2023-02-24 12:43:56 +08:00
56ae208717 update forgetPassword route url 2023-02-24 00:28:58 +08:00
03ad1187ce add EmailVeriyGuard 2023-02-24 00:04:24 +08:00
19452bb01e JwtAuthGuard 2023-02-23 23:09:25 +08:00
a00990b6d6 changeEmail 2023-02-23 23:07:25 +08:00
5bbefbcf4a 🐛 fix: NeedAuth bug 2023-02-23 20:43:17 +08:00
a863806111 refactor: controllers 2023-02-23 17:09:41 +08:00
d3c8626305 updateUserInfo & forgetPassword 2023-02-23 14:23:51 +08:00
97094b36b5 deleteUser needs to check the userId 2023-02-23 10:13:50 +08:00
167d2e096a update refreshToken 2023-02-23 09:17:05 +08:00
5bc8a7e072 delete user 2023-02-22 18:37:13 +08:00
f1457864df update password 2023-02-22 16:09:31 +08:00
aa3b2cb817 ♻️ merge auth module into users module 2023-02-22 11:02:35 +08:00
c4f6e168e5 merge password service into auth service 2023-02-22 09:43:13 +08:00
dfa91f8e7a update users module 2023-02-22 09:42:47 +08:00
085deabc7f add JwtExceptionsFilter 2023-02-22 01:18:12 +08:00
2db40172b2 register needs to have a email verification code 2023-02-22 00:16:59 +08:00
03f60a7059 update .env.example 2023-02-21 20:09:38 +08:00
0ff2961846 test email 2023-02-21 16:31:45 +08:00
4a7b2400cb update config 2023-02-21 11:13:21 +08:00
907719f582 update swagger 2023-02-20 16:27:25 +08:00
a56e4be200 add password.interceptor 2023-02-17 16:13:04 +08:00
b9f18ccc5d refreshToken 2023-02-17 15:56:35 +08:00
8b20f7019e update need-auth decorator 2023-02-17 15:04:50 +08:00
faee8db0f2 rename user/profile 2023-02-17 14:21:08 +08:00
b166294b6b ♻️ 校验token通过后,不再去数据库查询用户是否存在,避免每次请求都去查询数据库 2023-02-17 11:49:16 +08:00
57a41e30b6 add .env.example 2023-02-16 20:47:44 +08:00
0cb2f6797b add @NeedAuth Decorator 2023-02-16 17:10:03 +08:00
d32239e53a 📝 add addBearerAuth swagger 2023-02-16 16:41:34 +08:00
93127d2bd6 add skip-auth.decorator 2023-02-16 16:19:24 +08:00
205689e130 use global jwt-auth.guard 2023-02-16 15:44:27 +08:00
2d2365fe7a add user.decorator 2023-02-16 15:07:14 +08:00
c081296242 JwtAuthGuard 2023-02-16 14:13:09 +08:00
0bd884a9fa login & register 2023-02-16 10:40:03 +08:00
43b750313a login & signup 2023-02-16 01:23:46 +08:00
02d200d9f6 📝 add @nestjs/swagger 2023-02-15 21:26:41 +08:00
9e6e36e115 add class-validator & class-transformer 2023-02-15 20:44:32 +08:00
3ef5af8667 users resource 2023-02-15 20:32:14 +08:00
19e76970a2 🔧 update @nestjs/config 2023-02-15 20:03:13 +08:00
1961bfaa1a 🗃️ add prisma ORM 2023-02-15 19:28:17 +08:00
7ec188cec5 🔧 add @nestjs/config 2023-02-15 17:36:45 +08:00
376c0e7d65 🔥 remove all test files 2023-02-15 17:10:37 +08:00
788a6839d2 🎨 add git pre-commit hook to format code 2023-02-15 17:03:08 +08:00