mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
renamed variable
This commit is contained in:
parent
ca664e0063
commit
56efefd6d4
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ module.exports =
|
|||
timeInterval: 60
|
||||
subjectName: req.ip
|
||||
throttle: 6
|
||||
RateLimiter.addCount opts, (err, canCompile)->
|
||||
if !canCompile
|
||||
RateLimiter.addCount opts, (err, canContinue)->
|
||||
if !canContinue
|
||||
return res.send 500, { message: req.i18n.translate("rate_limit_hit_wait")}
|
||||
PasswordResetHandler.generateAndEmailResetToken email, (err, exists)->
|
||||
if err?
|
||||
|
|
Loading…
Reference in a new issue