aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-02-05 15:06:12 +0300
committerGravatar Vitaly Takmazov2018-02-05 15:09:04 +0300
commit18c0b338455c4ebf16d3720b6f9a92d17b0d5b70 (patch)
tree918deeb7149c0f2d3e590632ff93916132082b14 /juick-www/src/main/webapp/WEB-INF
parente372eea0cf03a01d5c1ac3ae230406d7d9de6fd0 (diff)
Revert "www: fb and vk logins using hash redirects"
This partially reverts commit 8aa11c92f36a5fd2fbed24e8423c8b9e14efda5f.
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/layouts/content.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/layouts/content.html b/juick-www/src/main/webapp/WEB-INF/layouts/content.html
index 78d79eb0b..f4ca0d849 100644
--- a/juick-www/src/main/webapp/WEB-INF/layouts/content.html
+++ b/juick-www/src/main/webapp/WEB-INF/layouts/content.html
@@ -43,7 +43,7 @@
}
</script>
</head>
-<body id="body" data-hash="{{ visitor.authHash | default('') }}">
+<body id="body" {% if visitor.uid > 0 %}data-hash="{{visitor.authHash}}"{% endif %}>
{% include "views/partial/navigation" %}
<div id="wrapper">
{% if visitor.uid == 0 %}