mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 04:39:16 +02:00
Can now serve track from remote library
This commit is contained in:
parent
b29ca44797
commit
9612b1bace
22 changed files with 272 additions and 140 deletions
|
@ -51,6 +51,8 @@ class SignatureAuthentication(authentication.BaseAuthentication):
|
|||
def authenticate(self, request):
|
||||
setattr(request, 'actor', None)
|
||||
actor = self.authenticate_actor(request)
|
||||
if not actor:
|
||||
return
|
||||
user = AnonymousUser()
|
||||
setattr(request, 'actor', actor)
|
||||
return (user, None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue