Skip to content
Snippets Groups Projects
Commit 3a76c223 authored by Björn Schießle's avatar Björn Schießle
Browse files

$_POST["adminEnableRecovery"] is a string

parent e1e1c589
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ if (isset($_POST['adminEnableRecovery']) && $_POST['adminEnableRecovery'] === "1
// Disable recoveryAdmin
} elseif (
isset($_POST['adminEnableRecovery'])
&& 0 === $_POST['adminEnableRecovery']
&& "0" === $_POST['adminEnableRecovery']
) {
$return = \OCA\Encryption\Helper::adminDisableRecovery($_POST['recoveryPassword']);
$action = "disable";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment