diff --git a/typo3/sysext/install/Classes/Controller/InstallerController.php b/typo3/sysext/install/Classes/Controller/InstallerController.php
index b2b9a5bdf9bc4136636601aec75df2842af6f56c..5ab73d3f97c12fa5a28c5c5725a94fc76001034c 100644
--- a/typo3/sysext/install/Classes/Controller/InstallerController.php
+++ b/typo3/sysext/install/Classes/Controller/InstallerController.php
@@ -358,16 +358,7 @@ class InstallerController
                 }
             }
             if (isset($postValues['password'])) {
-                $value = $postValues['password'];
-                if (strlen($value) <= 50) {
-                    $defaultConnectionSettings['password'] = $value;
-                } else {
-                    $messages[] = new FlashMessage(
-                        'Given password must be shorter than fifty characters.',
-                        'Database password not valid',
-                        FlashMessage::ERROR
-                    );
-                }
+                $defaultConnectionSettings['password'] = $postValues['password'];
             }
             if (isset($postValues['host'])) {
                 $value = $postValues['host'];