File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ class LoginView(SPConfigMixin, View):
110
110
will be rendered.
111
111
"""
112
112
113
- wayf_template = ' djangosaml2/wayf.html'
114
- authorization_error_template = ' djangosaml2/auth_error.html'
115
- post_binding_form_template = ' djangosaml2/post_binding_form.html'
113
+ wayf_template = getattr ( settings , 'SAML2_CUSTOM_WAYF_TEMPLATE' , ' djangosaml2/wayf.html')
114
+ authorization_error_template = getattr ( settings , 'SAML2_CUSTOM_AUTHORIZATION_ERROR_TEMPLATE' , ' djangosaml2/auth_error.html')
115
+ post_binding_form_template = getattr ( settings , 'SAML2_CUSTOM_POST_BINDING_FORM_TEMPLATE' , ' djangosaml2/post_binding_form.html')
116
116
117
117
def get_next_path (self , request : HttpRequest ) -> str :
118
118
''' Returns the path to put in the RelayState to redirect the user to after having logged in.
You can’t perform that action at this time.
0 commit comments