We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25866fa commit 366044bCopy full SHA for 366044b
adminforth/modules/restApi.ts
@@ -383,7 +383,7 @@ export default class AdminForthRestAPI implements IAdminForthRestAPI {
383
defaultUserExists = true;
384
}
385
const clientIp = this.adminforth.auth.getClientIp(response.getHeaders?.() || {});
386
- const isPrivateIP = is_ip_private(clientIp);
+ const isPrivateIP = is_ip_private(clientIp) === undefined || false ? true : false;
387
388
const publicPart = {
389
brandName: this.adminforth.config.customization.brandName,
0 commit comments