Merge pull request #10890 from appwrite/feat-update-geodb

Update GeoDB database
This commit is contained in:
Damodar Lohani 2025-12-02 11:48:20 +05:45 committed by GitHub
commit 0386fde126
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -372,7 +372,7 @@ $register->set('smtp', function () {
return $mail;
});
$register->set('geodb', function () {
return new Reader(__DIR__ . '/../assets/dbip/dbip-country-lite-2024-09.mmdb');
return new Reader(__DIR__ . '/../assets/dbip/dbip-country-lite-2025-12.mmdb');
});
$register->set('passwordsDictionary', function () {
$content = \file_get_contents(__DIR__ . '/../assets/security/10k-common-passwords');

View file

@ -55,7 +55,7 @@ trait AccountBase
'origin' => 'http://localhost',
'content-type' => 'application/json',
'x-appwrite-project' => 'console',
'x-forwarded-for' => '103.152.127.250' // Test IP for denied access region
'x-forwarded-for' => '31.6.14.220' // Test IP for denied access region
]), [
'userId' => ID::unique(),
'email' => $email,