mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
fix: meta_sql文件中windows换行符不同问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user