diff --git a/src/users.js b/src/users.js index 3d05a4430..9cf7f0c5c 100644 --- a/src/users.js +++ b/src/users.js @@ -611,6 +611,7 @@ async function notifyLoginLocation(user, ip, userAgent, auditSource) { debug(`notifyLoginLocation: ${user.id} ${ip} ${userAgent}`); + if (settings.isDemo()) return; if (constants.TEST && ip === '127.0.0.1') return; const response = await superagent.get('https://geolocation.cloudron.io/json').query({ ip }).ok(() => true);