mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Minor styling changes in first boot module
This commit is contained in:
1 parent
4637bba3eb
commit
0bb2dd51d8
6 files changed
+22
-16
No files matched your search
@@ -35,6 +35,7 @@ class FirstBootMiddleware(object):
|
||||
|
||||
@staticmethod
|
||||
def process_request(request):
|
||||
"""Handle a request as Django middleware request handler."""
|
||||
state = kvstore.get_default('firstboot_state', 0)
|
||||
firstboot_index_url = reverse('first_boot:index')
|
||||
user_requests_firstboot = request.path.startswith(firstboot_index_url)
|
||||
|
||||
Reference in new issue
Block a user