diff --git a/CTFd/utils.py b/CTFd/utils.py index 7b26e23..10597ca 100644 --- a/CTFd/utils.py +++ b/CTFd/utils.py @@ -23,12 +23,12 @@ def init_utils(app): app.jinja_env.globals.update(pages=pages) app.jinja_env.globals.update(can_register=can_register) app.jinja_env.globals.update(mailserver=mailserver) - app.jinja_env.globals.update(ctf_name=ctf_name()) + app.jinja_env.globals.update(ctf_name=ctf_name) def ctf_name(): name = get_config('ctf_name') - return name if name else 'CTF' + return name if name else 'CTFd' def pages(): diff --git a/templates/base.html b/templates/base.html index f523519..d5c9f09 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,7 +1,7 @@
-