core: remove redundant views/forms
This commit is contained in:
		@ -44,7 +44,7 @@ INTERNAL_IPS = ["127.0.0.1"]
 | 
			
		||||
ALLOWED_HOSTS = ["*"]
 | 
			
		||||
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
 | 
			
		||||
 | 
			
		||||
LOGIN_URL = "passbook_core:auth-login"
 | 
			
		||||
LOGIN_URL = "passbook_flows:default-auth"
 | 
			
		||||
# CSRF_FAILURE_VIEW = 'passbook.core.views.errors.CSRFErrorView.as_view'
 | 
			
		||||
 | 
			
		||||
# Custom user model
 | 
			
		||||
 | 
			
		||||
@ -11,7 +11,7 @@ from passbook.root.monitoring import MetricsView
 | 
			
		||||
 | 
			
		||||
LOGGER = get_logger()
 | 
			
		||||
admin.autodiscover()
 | 
			
		||||
admin.site.login = RedirectView.as_view(pattern_name="passbook_core:auth-login")
 | 
			
		||||
admin.site.login = RedirectView.as_view(pattern_name="passbook_flows:default-auth")
 | 
			
		||||
 | 
			
		||||
handler400 = error.BadRequestView.as_view()
 | 
			
		||||
handler403 = error.ForbiddenView.as_view()
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user