summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-04-26 12:45:08 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-05-11 13:36:46 +0200
commit53636c73d649514fbbfeba4741f39be1725e47fd (patch)
tree68c783886304248a2e1f0ce20b5e855fa74d8f64 /core/routes.php
parent3ab922601a2e6b9b170007461b9e0718c70bddcd (diff)
downloadnextcloud-server-53636c73d649514fbbfeba4741f39be1725e47fd.tar.gz
nextcloud-server-53636c73d649514fbbfeba4741f39be1725e47fd.zip
Add controller to generate client tokens
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index e86cd702b86..70909352000 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -45,6 +45,7 @@ $application->registerRoutes($this, [
['name' => 'login#tryLogin', 'url' => '/login', 'verb' => 'POST'],
['name' => 'login#showLoginForm', 'url' => '/login', 'verb' => 'GET'],
['name' => 'login#logout', 'url' => '/logout', 'verb' => 'GET'],
+ ['name' => 'token#generateToken', 'url' => '/token/generate', 'verb' => 'POST'],
],
]);