mirror of
https://github.com/eoao/cloud-mail.git
synced 2026-06-20 10:02:19 +08:00
修复可选注册码报错
(cherry picked from commit b40c62f94d6e33814db1498534d585b5b8d4303f)
This commit is contained in:
@@ -55,14 +55,14 @@ const loginService = {
|
||||
|
||||
if (regKey === settingConst.regKey.OPEN) {
|
||||
const result = await this.handleOpenRegKey(c, regKey, code)
|
||||
type = result.type
|
||||
regKeyId = result.regKeyId
|
||||
type = result?.type
|
||||
regKeyId = result?.regKeyId
|
||||
}
|
||||
|
||||
if (regKey === settingConst.regKey.OPTIONAL) {
|
||||
const result = await this.handleOpenOptional(c, regKey, code)
|
||||
type = result.type
|
||||
regKeyId = result.regKeyId
|
||||
type = result?.type
|
||||
regKeyId = result?.regKeyId
|
||||
}
|
||||
|
||||
const accountRow = await accountService.selectByEmailIncludeDelNoCase(c, email);
|
||||
|
||||
Reference in New Issue
Block a user