$_POST["adminEnableRecovery"] is a string
This commit is contained in:
parent
e1e1c58969
commit
3a76c22372
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue