def get_before_urls(self): from . import app_settings from django.conf.urls import include, url from authentic2.decorators import setting_enabled, required return required((setting_enabled('ENABLE', settings=app_settings), ), [url(r'^idp/cas/', include(__name__ + '.urls'))])
def get_before_urls(self): from . import app_settings from django.conf.urls import patterns, include from authentic2.decorators import setting_enabled, required return required( setting_enabled("ENABLE", settings=app_settings), patterns("", (r"^accounts/sslauth/", include(__name__ + ".urls"))), )
def get_before_urls(self): from . import app_settings from django.conf.urls import url, include from authentic2.decorators import (setting_enabled, required, lasso_required) return required((setting_enabled( 'ENABLE', settings=app_settings), lasso_required()), [url(r'^idp/saml2/', include(__name__ + '.urls'))])
def get_before_urls(self): from . import app_settings from django.conf.urls import patterns, include from authentic2.decorators import setting_enabled, required return required( ( setting_enabled('ENABLE', settings=app_settings), ), patterns('', (r'^idp/cas/', include(__name__ + '.urls'))))
from django.conf.urls import patterns, url from authentic2.decorators import setting_enabled, required from . import app_settings urlpatterns = required( setting_enabled('ENABLE', settings=app_settings), patterns('', url('^idp/freshdesk/login/', 'authentic2_idp_freshdesk.views.authenticate', name='idp-freshdesk-authenticate'), ) )
from django.conf.urls import patterns, url from authentic2.decorators import setting_enabled, required from . import app_settings from .views import index urlpatterns = required( setting_enabled("ENABLE", settings=app_settings), patterns("", url("^authentic2_plugin_template/$", index, name="authentic2-plugin-template-index")), )
from django.conf.urls import url from authentic2.decorators import setting_enabled, required from . import app_settings from .views import index urlpatterns = required(setting_enabled('ENABLE', settings=app_settings), [ url('^authentic2_plugin_template/$', index, name='authentic2-plugin-template-index') ])