fix: meta_sql文件中windows换行符不同问题

This commit is contained in:
meilin.huang
2023-06-17 16:04:21 +08:00
parent 0eca951465
commit 64f8f9a200
6 changed files with 18 additions and 11 deletions

View File

@@ -103,7 +103,6 @@ func (a *Account) Login(rc *req.Ctx) {
})
biz.ErrIsNilAppendErr(err, "otp生成失败: %s")
res["otpUrl"] = key.URL()
// 使用otpSecret充当token进行二次校验
otpSecret = key.Secret()
}
// 缓存otpInfo, 只有双因素校验通过才可返回真正的accessToken