aboutsummaryrefslogtreecommitdiffstats
path: root/settings/ajax/decryptall.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/decryptall.php')
-rw-r--r--settings/ajax/decryptall.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/decryptall.php b/settings/ajax/decryptall.php
index 0ad25927461..0e7249997b6 100644
--- a/settings/ajax/decryptall.php
+++ b/settings/ajax/decryptall.php
@@ -8,7 +8,7 @@ OC_App::loadApp('files_encryption');
// init encryption app
$params = array('uid' => \OCP\User::getUser(),
- 'password' => $_POST['password']);
+ 'password' => (string)$_POST['password']);
$view = new OC\Files\View('/');
$util = new \OCA\Files_Encryption\Util($view, \OCP\User::getUser());