0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Fixed incorrect i18n variable names

no issue
This commit is contained in:
kirrg001 2017-12-04 16:58:02 +01:00
parent e895b2c23b
commit 0be734a05c

View file

@ -190,7 +190,7 @@ privateBlog = function privateBlog() {
failCallback: function (req, res, next, nextValidRequestDate) {
logging.error(new errors.GhostError({
message: i18n.t('errors.middleware.spamprevention.tooManySigninAttempts.error',
{rfa: spamPrivateBlog.freeRetries + 1 || 5, rfp: spamPrivateBlog.lifetime || 60 * 60}),
{rateSigninAttempts: spamPrivateBlog.freeRetries + 1 || 5, rateSigninPeriod: spamPrivateBlog.lifetime || 60 * 60}),
context: i18n.t('errors.middleware.spamprevention.tooManySigninAttempts.context')
}));