mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Added abuse test
This commit is contained in:
+2
-1
@@ -13,7 +13,8 @@
|
||||
- New UI micro-interactions and styles fixes (@AnatoleLucet)
|
||||
- UI performance & accessibility improvments
|
||||
- Updated ClamAV conntainer to version 1.0.9
|
||||
- All emails are now sent asynchronously for improved performance (@TorstenDittmann)
|
||||
- All emails are now sent asynchronously for improved performance (@)
|
||||
- New Doctor CLI to debug the Appwrite server ([#415](https://github.com/appwrite/appwrite/issues/415))
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
|
||||
@@ -89,6 +89,17 @@ $cli
|
||||
//throw $th;
|
||||
}
|
||||
|
||||
try {
|
||||
if($request->getServer('_APP_OPTIONS_ABUSE', 'disabled') === 'disabled') {
|
||||
Console::log('🔴 Abuse protection is enabled');
|
||||
}
|
||||
else {
|
||||
Console::log('🟢 Abuse protection is enabled');
|
||||
}
|
||||
} catch (\Throwable $th) {
|
||||
//throw $th;
|
||||
}
|
||||
|
||||
sleep(1);
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user