Bug fix in registration using invitation code #4641

http://sentry.openlabs.co.in/default/my-openlabs-production/group/2862/
_helpers.jinja