mirror of
https://github.com/KaySar12/NextZen-UserService.git
synced 2025-03-15 23:25:35 +07:00
feat:clean login limit after login successful (#42)
This commit is contained in:
parent
7bd0df6441
commit
9c261dd8df
@ -134,6 +134,9 @@ func PostUserLogin(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
// clean limit
|
||||
limiter = rate.NewLimiter(rate.Every(time.Minute), 5)
|
||||
|
||||
privateKey, _ := service.MyService.User().GetKeyPair()
|
||||
|
||||
token := system_model.VerifyInformation{}
|
||||
|
Loading…
Reference in New Issue
Block a user