summaryrefslogtreecommitdiff
path: root/actions/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/register.php')
-rw-r--r--actions/register.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/register.php b/actions/register.php
index c67235f9d..fc729a29b 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -103,7 +103,8 @@ class RegisterAction extends Action {
$user->password = common_munge_password($password, $id);
$user->email = $email;
$user->created = DB_DataObject_Cast::dateTime(); # current time
-
+ $user->uri = common_mint_tag('user:'.$id);
+
$result = $user->insert();
if (!$result) {
# Try to clean up...