remove g.user from before request

This commit is contained in:
Ozzie Isaacs
2023-02-05 08:47:10 +01:00
parent 1c3b69c710
commit 98da7dd5b0
22 changed files with 105 additions and 104 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ def before_request():
# log.info("before logout {}".format(request.path))
# logout_user()
g.constants = constants
g.user = current_user
# 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