Add a comment on why we don't create a profile for upgrading users

This commit is contained in:
Mark Haines 2016-06-17 19:18:53 +01:00
parent 9f1800fba8
commit 0c13d45522
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ class RegistrationHandler(BaseHandler):
was_guest=was_guest,
make_guest=make_guest,
create_profile_with_localpart=(
# If the user was a guest then they already have a profile
None if was_guest else user.localpart
),
)