diff --git a/humbug/settings.py b/humbug/settings.py index 3c03f98930..50aa5cbde8 100644 --- a/humbug/settings.py +++ b/humbug/settings.py @@ -99,6 +99,12 @@ SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' # username generation. HASH_SALT = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' +# Use this salt to hash a user's email into a filename for their user-uploaded +# avatar. If this salt is discovered, attackers will only be able to determine +# that the owner of an email account has uploaded an avatar to Humbug, which isn't +# the end of the world. Don't use the salt where there is more security exposure. +AVATAR_SALT = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' + # Tell the browser to never send our cookies without encryption, e.g. # when executing the initial http -> https redirect. # diff --git a/templates/zephyr/left-sidebar.html b/templates/zephyr/left-sidebar.html index 80498176bb..f2a74f1a87 100644 --- a/templates/zephyr/left-sidebar.html +++ b/templates/zephyr/left-sidebar.html @@ -3,7 +3,7 @@