Added GOOGLE_SITE_VERIFICATION environmental value to enable google safe browsing

This commit is contained in:
Vijay Pillai
2022-11-10 11:02:50 -05:00
parent 3d59a78c9f
commit b52c7aac53
10 changed files with 30 additions and 0 deletions
+1
View File
@@ -108,6 +108,7 @@ def before_request():
logout_user()
g.constants = constants
g.user = current_user
g.google_site_verification = os.getenv('GOOGLE_SITE_VERIFICATION','')
g.allow_registration = config.config_public_reg
g.allow_anonymous = config.config_anonbrowse
g.allow_upload = config.config_uploading