summaryrefslogtreecommitdiffstats
path: root/login.php
diff options
context:
space:
mode:
Diffstat (limited to 'login.php')
-rw-r--r--login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/login.php b/login.php
index dec8474e..ca5f6e0e 100644
--- a/login.php
+++ b/login.php
@@ -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');
}