Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_totp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2016-06-04 20:07:56 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2016-06-04 20:10:25 +0300
commit42156f9b6e7705f3d8d3c634beffb8ee34886278 (patch)
tree53dbb64adfd78d22cbd4a4fa89e2c1859e31fdc3 /appinfo/routes.php
parented7d8759dbc637e121c732bfeb3cfc2042d818ff (diff)
add GUI and other small enhancements
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
new file mode 100644
index 0000000..45e0256
--- /dev/null
+++ b/appinfo/routes.php
@@ -0,0 +1,34 @@
+<?php
+
+/**
+ * @author Christoph Wurst <christoph@winzerhof-wurst.at>
+ *
+ * ownCloud - Two-factor TOTP
+ *
+ * This code is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License, version 3,
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License, version 3,
+ * along with this program. If not, see <http://www.gnu.org/licenses/>
+ *
+ */
+return [
+ 'routes' => [
+ [
+ 'name' => 'settings#state',
+ 'url' => '/settings/state',
+ 'verb' => 'GET'
+ ],
+ [
+ 'name' => 'settings#enable',
+ 'url' => '/settings/enable',
+ 'verb' => 'POST'
+ ]
+ ]
+];