by Robin at 20241126
This commit is contained in:
parent
f843490b0f
commit
a91904f18f
|
@ -124,6 +124,9 @@ func (l *LoginBusinessValidator) EnsureVeriCodeWrongTimesNotReachedDailyUpperbou
|
||||||
l.ec = errcode.ErrCodeVeriCodeWrongTimesSrvFail
|
l.ec = errcode.ErrCodeVeriCodeWrongTimesSrvFail
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if wrongTimes == nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if wrongTimes.WrongTimes >= int64(maxDailyWrongTimes) {
|
if wrongTimes.WrongTimes >= int64(maxDailyWrongTimes) {
|
||||||
logger.Error("wrongs times of verification code of this mid has reached its daily upperbound")
|
logger.Error("wrongs times of verification code of this mid has reached its daily upperbound")
|
||||||
|
|
Loading…
Reference in New Issue