aboutsummaryrefslogtreecommitdiffstats
path: root/apps/encryption/appinfo/routes.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-04-16 13:47:27 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-04-16 14:30:19 +0200
commite93f262eac858bc149872966c85e8019a1970d0a (patch)
tree79088df187ddb383d0b1f770c176584f5b7fe184 /apps/encryption/appinfo/routes.php
parent99b0c6e525e71de18245ba434852389349b4f2d7 (diff)
downloadnextcloud-server-e93f262eac858bc149872966c85e8019a1970d0a.tar.gz
nextcloud-server-e93f262eac858bc149872966c85e8019a1970d0a.zip
display warning if password changed or if the keys are not initialized
Diffstat (limited to 'apps/encryption/appinfo/routes.php')
-rw-r--r--apps/encryption/appinfo/routes.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/encryption/appinfo/routes.php b/apps/encryption/appinfo/routes.php
index 0dab4a01b97..4194308a0ce 100644
--- a/apps/encryption/appinfo/routes.php
+++ b/apps/encryption/appinfo/routes.php
@@ -35,10 +35,15 @@ namespace OCA\Encryption\AppInfo;
'url' => '/ajax/changeRecoveryPassword',
'verb' => 'POST'
],
- [
+ [
'name' => 'Recovery#userSetRecovery',
'url' => '/ajax/userSetRecovery',
'verb' => 'POST'
+ ],
+ [
+ 'name' => 'Status#getStatus',
+ 'url' => '/ajax/getStatus',
+ 'verb' => 'GET'
]