mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-07-07 07:11:33 +08:00
feat: support send mail from admin portal(no balance limit) (#524)
This commit is contained in:
@@ -165,8 +165,8 @@ export default {
|
||||
const jwt = await Jwt.sign({
|
||||
user_email: email,
|
||||
user_id: user_id,
|
||||
// 30 days expire in seconds
|
||||
exp: Math.floor(Date.now() / 1000) + 30 * 24 * 60 * 60,
|
||||
// 90 days expire in seconds
|
||||
exp: Math.floor(Date.now() / 1000) + 90 * 24 * 60 * 60,
|
||||
iat: Math.floor(Date.now() / 1000),
|
||||
}, c.env.JWT_SECRET, "HS256")
|
||||
return c.json({
|
||||
|
||||
Reference in New Issue
Block a user