Skip to content

Commit a4c2254

Browse files
committed
fix
1 parent d9e064e commit a4c2254

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/services/account-manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ proto.login = function (account, password) {
152152
};
153153

154154
const REGISTER_CODE = "REGISTER_CODE_";
155-
const EXPIRED = 600;
155+
const EXPIRED = 1200;
156156
const EXPIRED_SPEED = 10;
157157

158158
proto.sendRegisterCode = function (email) {

core/services/email-manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ proto.sendMail = function (options) {
4343
proto.sendRegisterCode = function (email, code) {
4444
return proto.sendMail({
4545
to: email,
46-
html: `<div>您接收的验证码为: <em style="color:red;">${code}</em> 十分钟内有效</div>`
46+
html: `<div>您接收的验证码为: <em style="color:red;">${code}</em> 20分钟内有效</div>`
4747
});
4848
};
4949

0 commit comments

Comments
 (0)