mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #20168 from overleaf/jpa-email-fallback-info
[web] log emails on level INFO from fallback transport GitOrigin-RevId: a1f63e302cf6c5fcfa82b85ff2c79182fdc58945
This commit is contained in:
parent
3c86912f61
commit
d655cb129a
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ function getClient() {
|
||||||
)
|
)
|
||||||
client = {
|
client = {
|
||||||
async sendMail(options) {
|
async sendMail(options) {
|
||||||
logger.debug({ options }, 'Would send email if enabled.')
|
logger.info({ options }, 'Would send email if enabled.')
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ describe('Add secondary email address confirmation code email', function () {
|
||||||
this.skip()
|
this.skip()
|
||||||
}
|
}
|
||||||
|
|
||||||
spy = sinon.spy(logger, 'debug')
|
spy = sinon.spy(logger, 'info')
|
||||||
user = new User()
|
user = new User()
|
||||||
await user.register()
|
await user.register()
|
||||||
await user.login()
|
await user.login()
|
||||||
|
|
Loading…
Reference in a new issue