]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/register.php
add timestamp to avatar filenames to prevent overlap
[quix0rs-gnu-social.git] / actions / register.php
index c67235f9d8d8d2e618a67764f54e459c15ca5376..fc729a29bfbb819bc4f0992ff8e3b9146fc65b2c 100644 (file)
@@ -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...