mirror of
https://github.com/appwrite/appwrite
synced 2026-05-06 06:48:22 +00:00
Merge pull request #10890 from appwrite/feat-update-geodb
Update GeoDB database
This commit is contained in:
commit
0386fde126
4 changed files with 2 additions and 2 deletions
Binary file not shown.
BIN
app/assets/dbip/dbip-country-lite-2025-12.mmdb
Normal file
BIN
app/assets/dbip/dbip-country-lite-2025-12.mmdb
Normal file
Binary file not shown.
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue