File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,20 @@ class LoginView(SPConfigMixin, View):
110
110
will be rendered.
111
111
"""
112
112
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' )
113
+ wayf_template = getattr (
114
+ settings ,
115
+ 'SAML2_CUSTOM_WAYF_TEMPLATE' ,'djangosaml2/wayf.html'
116
+ )
117
+ authorization_error_template = getattr (
118
+ settings ,
119
+ 'SAML2_CUSTOM_AUTHORIZATION_ERROR_TEMPLATE' ,
120
+ 'djangosaml2/auth_error.html'
121
+ )
122
+ post_binding_form_template = getattr (
123
+ settings ,
124
+ 'SAML2_CUSTOM_POST_BINDING_FORM_TEMPLATE' ,
125
+ 'djangosaml2/post_binding_form.html'
126
+ )
116
127
117
128
def get_next_path (self , request : HttpRequest ) -> str :
118
129
''' Returns the path to put in the RelayState to redirect the user to after having logged in.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def read(*rnames):
24
24
25
25
setup (
26
26
name = 'djangosaml2' ,
27
- version = '1.3.2 ' ,
27
+ version = '1.3.3 ' ,
28
28
description = 'pysaml2 integration for Django' ,
29
29
long_description = read ('README.md' ),
30
30
long_description_content_type = 'text/markdown' ,
You can’t perform that action at this time.
0 commit comments