summaryrefslogtreecommitdiffstats
path: root/apps/encryption/js/settings-admin.js
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-03-31 13:48:03 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:29 +0200
commit4b4aeaa5b2e13ae4272bf8f4b44564e5b8cb046a (patch)
treebc8ece1aaca29577622012920eb0d70020827196 /apps/encryption/js/settings-admin.js
parenta98b7dbf6fc3a190d995326ea97f88296ed89080 (diff)
downloadnextcloud-server-4b4aeaa5b2e13ae4272bf8f4b44564e5b8cb046a.tar.gz
nextcloud-server-4b4aeaa5b2e13ae4272bf8f4b44564e5b8cb046a.zip
fix set recovery key and implement change password
Diffstat (limited to 'apps/encryption/js/settings-admin.js')
-rw-r--r--apps/encryption/js/settings-admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/js/settings-admin.js b/apps/encryption/js/settings-admin.js
index e5d3bebb208..36765adf3e4 100644
--- a/apps/encryption/js/settings-admin.js
+++ b/apps/encryption/js/settings-admin.js
@@ -44,7 +44,7 @@ $(document).ready(function(){
var confirmNewPassword = $('#repeatedNewEncryptionRecoveryPassword').val();
OC.msg.startSaving('#encryptionChangeRecoveryKey .msg');
$.post(
- OC.filePath( 'encryption', 'ajax', 'changeRecoveryPassword.php' )
+ OC.generateUrl('/apps/encryption/ajax/changeRecoveryPassword')
, { oldPassword: oldRecoveryPassword, newPassword: newRecoveryPassword, confirmPassword: confirmNewPassword }
, function( data ) {
OC.msg.finishedSaving('#encryptionChangeRecoveryKey .msg', data);