mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 21:09:48 +02:00
Removed radios and listening recording for anonymous users as it was buggy
This commit is contained in:
parent
a2dcae0bbf
commit
4325b1be4f
11 changed files with 33 additions and 98 deletions
|
@ -1,11 +0,0 @@
|
|||
|
||||
|
||||
class AnonymousSessionMiddleware:
|
||||
def __init__(self, get_response):
|
||||
self.get_response = get_response
|
||||
|
||||
def __call__(self, request):
|
||||
if not request.session.session_key:
|
||||
request.session.save()
|
||||
response = self.get_response(request)
|
||||
return response
|
Loading…
Add table
Add a link
Reference in a new issue