зеркало из https://github.com/mozilla/fxa.git
fix(oauth): quiet logging on >24 hour tokens
This commit is contained in:
Родитель
3b849fae46
Коммит
ea80a138f5
|
@ -83,7 +83,7 @@ exports.verify = async function verify(accessToken) {
|
|||
// Log a warning if reliers are using access tokens that are more
|
||||
// than 24 hours old. Eventually we will shorten the expiry time
|
||||
// on access tokens and such old tokens won't be allowed.
|
||||
logger.warn('token.verify.expiring_soon', {
|
||||
logger.verbose('token.verify.expiring_soon', {
|
||||
user: token.userId.toString('hex'),
|
||||
client_id: token.clientId.toString('hex'),
|
||||
scope: token.scope,
|
||||
|
|
Загрузка…
Ссылка в новой задаче