Skip to content

Commit

Permalink
fix: routes: add missing route config to implement wipe
Browse files Browse the repository at this point in the history
Add route to handle wipe request.
  • Loading branch information
thlehmann-ionos committed Jul 8, 2024
1 parent 0b39320 commit d6f5d26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
declare(strict_types=1);
return [
'resources' => [
// Apparently has the convention calling AuthSettingsController.destroy() on DELETE
'AuthSettings' => ['url' => '/authtokens' , 'root' => ''],
],
'routes' => [
['name' => 'AuthSettings#wipe', 'url' => '/authtokens/wipe/{id}', 'verb' => 'POST' , 'root' => ''],
]
];

0 comments on commit d6f5d26

Please sign in to comment.