mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
test(core): Stop showing JWT warning during test runs (no-changelog) (#10255)
This commit is contained in:
parent
519fc4d753
commit
efee25ddaa
|
@ -96,6 +96,7 @@ config.validate({
|
|||
});
|
||||
const userManagement = config.get('userManagement');
|
||||
if (userManagement.jwtRefreshTimeoutHours >= userManagement.jwtSessionDurationHours) {
|
||||
if (!inTest)
|
||||
console.warn(
|
||||
'N8N_USER_MANAGEMENT_JWT_REFRESH_TIMEOUT_HOURS needs to smaller than N8N_USER_MANAGEMENT_JWT_DURATION_HOURS. Setting N8N_USER_MANAGEMENT_JWT_REFRESH_TIMEOUT_HOURS to 0 for now.',
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue