summaryrefslogtreecommitdiffstats
path: root/settings/routes.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-04-29 15:00:57 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-05-13 12:35:25 +0200
commita9ac11718e62017c70682f99eb35b43b1ef9c498 (patch)
treed4874aca27972f45acdb756ba2200f886617141b /settings/routes.php
parent254fa5eb22efa5ba572702064377a6ad9eec9a53 (diff)
downloadnextcloud-server-a9ac11718e62017c70682f99eb35b43b1ef9c498.tar.gz
nextcloud-server-a9ac11718e62017c70682f99eb35b43b1ef9c498.zip
backup the encryption key after the encryption was disabled so that the user
can restore them if needed
Diffstat (limited to 'settings/routes.php')
-rw-r--r--settings/routes.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/routes.php b/settings/routes.php
index a8bb0d981e8..21d406beeca 100644
--- a/settings/routes.php
+++ b/settings/routes.php
@@ -54,6 +54,10 @@ $this->create('settings_ajax_setlanguage', '/settings/ajax/setlanguage.php')
->actionInclude('settings/ajax/setlanguage.php');
$this->create('settings_ajax_decryptall', '/settings/ajax/decryptall.php')
->actionInclude('settings/ajax/decryptall.php');
+$this->create('settings_ajax_restorekeys', '/settings/ajax/restorekeys.php')
+ ->actionInclude('settings/ajax/restorekeys.php');
+$this->create('settings_ajax_deletekeys', '/settings/ajax/deletekeys.php')
+ ->actionInclude('settings/ajax/deletekeys.php');
// apps
$this->create('settings_ajax_apps_ocs', '/settings/ajax/apps/ocs.php')
->actionInclude('settings/ajax/apps/ocs.php');