summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/ajax
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-11-26 11:38:49 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2013-11-26 11:38:49 +0100
commit0617e06f69bdfbfb71733b5c4dcc1532b0823a51 (patch)
tree1f56e7ca1e29917b9d93c4dc87b976e5ffa0f0e7 /apps/files_encryption/ajax
parent35a6ad255d6b45e68c18ebcdb36ff0f99311d888 (diff)
downloadnextcloud-server-0617e06f69bdfbfb71733b5c4dcc1532b0823a51.tar.gz
nextcloud-server-0617e06f69bdfbfb71733b5c4dcc1532b0823a51.zip
use POST instead of GET
Diffstat (limited to 'apps/files_encryption/ajax')
-rw-r--r--apps/files_encryption/ajax/getMigrationStatus.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/ajax/getMigrationStatus.php b/apps/files_encryption/ajax/getMigrationStatus.php
index f912a238caa..a28ebfac7f7 100644
--- a/apps/files_encryption/ajax/getMigrationStatus.php
+++ b/apps/files_encryption/ajax/getMigrationStatus.php
@@ -10,8 +10,8 @@ use OCA\Encryption\Util;
\OCP\JSON::checkAppEnabled('files_encryption');
-$user = isset($_GET['user']) ? $_GET['user'] : '';
-$password = isset($_GET['password']) ? $_GET['password'] : '';
+$user = isset($_POST['user']) ? $_POST['user'] : '';
+$password = isset($_POST['password']) ? $_POST['password'] : '';
$migrationCompleted = true;