diff options
Diffstat (limited to 'register.php')
-rw-r--r-- | register.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/register.php b/register.php index a29330c4..dae081f4 100644 --- a/register.php +++ b/register.php @@ -153,7 +153,8 @@ switch ($action) { } $user_object = new User($new_user); - $user_object->update_validation(str_rand(20)); + $validation = str_rand(20); + $user_object->update_validation($validation); $message = 'Your account has been created. However, this forum requires account activation.' . ' An activation key has been sent to the e-mail address you provided. ' . |