1
0
Fork 0

Move mod/receive to src/Module/Diaspora/receive

- Added routes
- Make Diaspora::decode(Raw) more explicit
- Add new User::getByGuid() method
This commit is contained in:
Philipp Holzer 2019-10-20 13:00:08 +02:00
commit 7716374593
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
6 changed files with 182 additions and 103 deletions

View file

@ -196,6 +196,11 @@ return [
'/saved/remove' => [Module\Search\Saved::class, [R::GET]],
],
'/receive' => [
'/public' => [Module\Diaspora\Receive::class, [R::POST]],
'/users/{guid}' => [Module\Diaspora\Receive::class, [R::POST]],
],
'/settings' => [
'/2fa' => [
'[/]' => [Module\Settings\TwoFactor\Index::class, [R::GET, R::POST]],