This belongs in custom data.

master
Nick Sergeant 2015-07-24 21:49:10 -04:00
parent 74fff0bc17
commit e935d28dbd
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,6 @@
var intercomSettings = {
app_id: 'bde5yvi6',
user_id: {{ request.user.id }},
username: '{{ request.user.username }}',
user_hash: '{{ request.user.id|intercom_sha_256 }}',
email: '{{ request.user.email }}',
created_at: {{ request.user.date_joined|date:"U" }},
@ -450,6 +449,7 @@
'is pro': window.user_is_pro,
'blog domain': '{{ request.user.profile.blog_domain }}',
'pro date': {% firstof request.user.profile.pro_date|date:"U" 'null' %},
'username': '{{ request.user.username }}'
}
};
</script>