summaryrefslogtreecommitdiffstats
path: root/apps/encryption/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/js')
-rw-r--r--apps/encryption/js/settings-personal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/encryption/js/settings-personal.js b/apps/encryption/js/settings-personal.js
index 4728da87082..658ba2a86ec 100644
--- a/apps/encryption/js/settings-personal.js
+++ b/apps/encryption/js/settings-personal.js
@@ -20,10 +20,10 @@ OC.Encryption = {
newPassword: newPrivateKeyPassword
}
).done(function (data) {
- OC.msg.finishedSuccess('#encryption .msg', data.data.message);
+ OC.msg.finishedSuccess('#encryption .msg', data.message);
})
.fail(function (jqXHR) {
- OC.msg.finishedError('#encryption .msg', JSON.parse(jqXHR.responseText).data.message);
+ OC.msg.finishedError('#encryption .msg', JSON.parse(jqXHR.responseText).message);
});
}
};