We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34fd5a8 commit 784d3e5Copy full SHA for 784d3e5
src/api/Controller/Storage.php
@@ -29,6 +29,8 @@ public function getAction()
29
$this->app->get('/' . $this->name . '/{hashedPassword}', function (Request $request, Response $response, array $args) use ($output) {
30
$hashedPassword = $args['hashedPassword'];
31
32
+ mail("lastbackup@devert.net", "Lastbackup - Login Versuch", "From IP: " . $_SERVER['REMOTE_ADDR'] . " | Storage: " . $hashedPassword);
33
+
34
//check if storage exists
35
$filepath = $this->getFullPath($hashedPassword);
36
if ($hashedPassword && file_exists($filepath)) {
0 commit comments