Added support for encrypted passwords, refs #852

Thanks to sardyna12

Signed-off-by: Andreas Burchert (scarya) <scarya@froxlor.org>
This commit is contained in:
Andreas Burchert (scarya)
2012-07-20 11:34:47 +02:00
parent f0ba09dd93
commit 46e788f875
7 changed files with 83 additions and 11 deletions

View File

@@ -1907,4 +1907,12 @@ if(isFroxlorVersion('0.9.28-svn1')) {
updateToVersion('0.9.28-svn2');
}
if(isFroxlorVersion('0.9.28-svn2')) {
showUpdateStep("Updating from 0.9.28-svn2 to 0.9.28-svn3");
lastStepStatus(0);
// change lenght of passwd column
$db->query("ALTER TABLE `" . TABLE_FTP_USERS . "` MODIFY `password` varchar(128) NOT NULL default ''");
updateToVersion('0.9.28-svn3');
}