1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-03-20 06:50:23 +03:00

Remove unused weblogin_required decorator from download view to allow downloads

This commit is contained in:
Adolfo Gómez García 2025-02-10 17:03:08 +01:00
parent b9594013a0
commit 0a45c06284
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -31,7 +31,6 @@ Author: Adolfo Gómez, dkmaster at dkmon dot com
import logging
import typing
from uds.core.auths.auth import weblogin_required
from uds.core.managers import downloads_manager
from .main import index
@ -45,7 +44,6 @@ if typing.TYPE_CHECKING:
logger = logging.getLogger(__name__)
@weblogin_required(admin=True)
def download(request: 'HttpRequest', download_id: str) -> 'HttpResponse':
"""
Downloadables management