Closed elueckel closed 2 years ago
Gerne einfügen wenn es besser ist.
Am 30.12.2021 um 19:29 schrieb Brovning @.***>:
@Brovning commented on this pull request.
In UniFi Device Blocker/module.php:
@@ -148,9 +148,13 @@ public function AuthenticateAndProcessRequest() { } else if ($code == 400) { $this->SendDebug($this->Translate("Authentication"),$this->Translate('400 Bad Request - The server cannot or will not process the request due to an apparent client error.'),0);
- echo $this->Translate('400 Bad Request - The server cannot or will not process the request due to an apparent client error.');
- exit(); @elueckel Da wir uns in einer Funktion befinden, wäre folgendes zu bevorzugen: return false;
Und am Ende im Idealfall noch für die erfolgreiche Ausführung: return true;
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
Die Echos habe ich eingebaut damit man in die Condole einen Fehler bekommt. Ich kann leider keinen besseren Weg für Feedback.