aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup.inc')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.inc b/packages/autoconfigbackup/autoconfigbackup.inc
index c1fd11c4..7cef7a12 100644
--- a/packages/autoconfigbackup/autoconfigbackup.inc
+++ b/packages/autoconfigbackup/autoconfigbackup.inc
@@ -31,6 +31,10 @@ function custom_php_validation_command($post, $input_errors) {
global $_POST;
if($post['password'] <> $post['passwordagain'])
$input_errors[] = "Sorry, the entered passwords do not match.";
+
+ if($post['crypto_password'] <> $post['crypto_password2'])
+ $input_errors[] = "Sorry, the entered encryption passwords do not match.";
+
}
?> \ No newline at end of file