diff options
author | pb1dft <pb1dft@ampache> | 2006-10-16 22:41:00 +0000 |
---|---|---|
committer | pb1dft <pb1dft@ampache> | 2006-10-16 22:41:00 +0000 |
commit | 61f062f2b0ce1494d78dca6b648a948efbf017ca (patch) | |
tree | 63fc436b40db89bcbe9e9d5a80a5d878cdca976b /login.php | |
parent | bcabc1e7b81963c7399f209b18eba7b652ff1aea (diff) | |
download | ampache-61f062f2b0ce1494d78dca6b648a948efbf017ca.tar.gz ampache-61f062f2b0ce1494d78dca6b648a948efbf017ca.tar.bz2 ampache-61f062f2b0ce1494d78dca6b648a948efbf017ca.zip |
Update on password crypto for ldap accounts
Diffstat (limited to 'login.php')
-rw-r--r-- | login.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ if ($_POST['username'] && $_POST['password']) { $email = $auth['email']; /* Attempt to create the user */ - if (!$user->create($username, $name, $email,md5(time()), $access)) { + if (!$user->create($username, $name, $email,md5(mt_rand()), $access)) { $auth['success'] = false; $auth['error'] = _('Unable to create new account'); } |