aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/admin/routes
diff options
context:
space:
mode:
authorMarvin Borner2018-05-09 23:15:02 +0200
committerMarvin Borner2018-05-09 23:15:02 +0200
commit6540ea037ea6331a013c928a1dd15b8f5de8b30f (patch)
treecbc1c4f161d207fb2c01aa3311bfbf325b448aa1 /main/app/sprinkles/admin/routes
parent40f3846c01848f851078e809aac4b9268036f4b2 (diff)
Began person verifying chat integration (names is chat home etc)
Diffstat (limited to 'main/app/sprinkles/admin/routes')
-rw-r--r--main/app/sprinkles/admin/routes/wormhole.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/app/sprinkles/admin/routes/wormhole.php b/main/app/sprinkles/admin/routes/wormhole.php
index 7606978..882a177 100644
--- a/main/app/sprinkles/admin/routes/wormhole.php
+++ b/main/app/sprinkles/admin/routes/wormhole.php
@@ -1,8 +1,9 @@
<?php
/**
- * Super admin thingy cause of my current server situation
+ * Super admin thingy cause of my current server situation -- GET because of XSS protection
*/
$app->group('/wormhole/{access_token}', function () {
$this->get('/verify/{user_id}/{session_id}', 'UserFrosting\Sprinkle\Admin\Controller\WormholeController:verify');
+ $this->get('/new/message/{sender_id}/{receiver_id}/{message}', 'UserFrosting\Sprinkle\Admin\Controller\WormholeController:newMessage');
$this->get('/user/{user_id}', 'UserFrosting\Sprinkle\Admin\Controller\WormholeController:getInfo');
});