remove base64 decoding of GA_KEY

This commit is contained in:
Ryan Johnson 2022-10-13 10:05:07 -07:00
Родитель ae74861fd6
Коммит 4d236b9ea1
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -897,10 +897,6 @@ TIDINGS_REVERSE = "kitsune.sumo.urlresolvers.reverse"
# Google Analytics settings. # Google Analytics settings.
# GA_KEY is expected b64 encoded. # GA_KEY is expected b64 encoded.
GA_KEY = config("GA_KEY", default=None) # Google API client key GA_KEY = config("GA_KEY", default=None) # Google API client key
if GA_KEY:
import base64
GA_KEY = base64.b64decode(GA_KEY)
GA_ACCOUNT = config( GA_ACCOUNT = config(
"GA_ACCOUNT", "something@developer.gserviceaccount.com" "GA_ACCOUNT", "something@developer.gserviceaccount.com"
) # Google API Service Account email address ) # Google API Service Account email address