Removed an unused debug logging when logging in in the Mia core application.
This commit is contained in:
parent
49264d3ede
commit
7fc49f5d24
@ -77,7 +77,6 @@ def login_required(function=None):
|
|||||||
del request.session["visit_logged"]
|
del request.session["visit_logged"]
|
||||||
return HttpResponse(status=401)
|
return HttpResponse(status=401)
|
||||||
_log_visit(request)
|
_log_visit(request)
|
||||||
print(request.META["REMOTE_ADDR"])
|
|
||||||
return view_func(request, *args, **kwargs)
|
return view_func(request, *args, **kwargs)
|
||||||
return _wrapped_view
|
return _wrapped_view
|
||||||
if function:
|
if function:
|
||||||
|
Loading…
Reference in New Issue
Block a user