mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 00:49:16 +02:00
Increase the security of JWT token generation by using DJANGO_SECRET_KEY as well as user-specific salt for the signature
This commit is contained in:
parent
426f6f0d45
commit
d39cfab283
4 changed files with 29 additions and 2 deletions
|
@ -1012,7 +1012,7 @@ class TrackSerializer(MusicEntitySerializer):
|
|||
metadata = music_tasks.federation_audio_track_to_metadata(
|
||||
validated_data, references
|
||||
)
|
||||
metadata['tags'] = tags
|
||||
metadata["tags"] = tags
|
||||
|
||||
from_activity = self.context.get("activity")
|
||||
if from_activity:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue