1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-03-12 04:58:34 +03:00

Added "allow cross domain logins" as comment to login view

This commit is contained in:
Adolfo Gómez García 2017-04-19 10:26:18 +02:00
parent 846489244e
commit 2daafa2c4a

View File

@ -44,14 +44,16 @@ from uds.core.util.Cache import Cache
from uds.core.util import OsDetector
from uds.core.ui import theme
from uds.core import VERSION
from django.views.decorators.csrf import csrf_exempt
import uds.web.errors as errors
import logging
logger = logging.getLogger(__name__)
__updated__ = '2016-02-19'
__updated__ = '2017-04-19'
# Allow cross-domain login
# @csrf_exempt
def login(request, tag=None):
'''
View responsible of logging in an user