feat(api-auth): send email login codes via SMTP

This commit is contained in:
2026-04-05 14:40:52 +08:00
parent 7192cda20f
commit ec1a4f7478
6 changed files with 155 additions and 9 deletions
+12
View File
@@ -70,6 +70,9 @@ importers:
class-validator:
specifier: ^0.15.1
version: 0.15.1
nodemailer:
specifier: ^8.0.4
version: 8.0.4
otplib:
specifier: ^13.4.0
version: 13.4.0
@@ -6091,6 +6094,13 @@ packages:
integrity: sha512-1h5gKZCF+pO/o3Iqt5Jp7wc9rH3eJJ0+nh/CIoiRwjRxde/hAHyLPXYN4V3CqKAbiZPSeJFSWHmJsbkicta0Eg==
}
nodemailer@8.0.4:
resolution:
{
integrity: sha512-k+jf6N8PfQJ0Fe8ZhJlgqU5qJU44Lpvp2yvidH3vp1lPnVQMgi4yEEMPXg5eJS1gFIJTVq1NHBk7Ia9ARdSBdQ==
}
engines: { node: ">=6.0.0" }
normalize-path@3.0.0:
resolution:
{
@@ -12248,6 +12258,8 @@ snapshots:
node-releases@2.0.37: {}
nodemailer@8.0.4: {}
normalize-path@3.0.0: {}
npm-run-path@4.0.1: