[notifications] Add a class for notifications
This commit is contained in:
@ -546,6 +546,8 @@ def scrobble_longplay_finish(request, uuid):
|
||||
def scrobble_finish(request, uuid):
|
||||
user = request.user
|
||||
success_url = request.META.get("HTTP_REFERER")
|
||||
if not success_url:
|
||||
success_url = reverse_lazy("vrobbler-home")
|
||||
|
||||
if not user.is_authenticated:
|
||||
return HttpResponseRedirect(success_url)
|
||||
|
||||
Reference in New Issue
Block a user