зеркало из https://github.com/mozilla/kitsune.git
remove base64 decoding of GA_KEY
This commit is contained in:
Родитель
ae74861fd6
Коммит
4d236b9ea1
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче