Added abuse test
This commit is contained in:
parent
d007efe9de
commit
f4023dcfb9
|
@ -13,7 +13,8 @@
|
||||||
- New UI micro-interactions and styles fixes (@AnatoleLucet)
|
- New UI micro-interactions and styles fixes (@AnatoleLucet)
|
||||||
- UI performance & accessibility improvments
|
- UI performance & accessibility improvments
|
||||||
- Updated ClamAV conntainer to version 1.0.9
|
- 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
|
## Bug Fixes
|
||||||
|
|
||||||
|
|
|
@ -89,6 +89,17 @@ $cli
|
||||||
//throw $th;
|
//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);
|
sleep(1);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue