##// END OF EJS Templates
authn: Set the renderer attribute when registering settings view.
johbo -
r87:71cbc422 default
parent child Browse files
Show More
@@ -197,12 +197,14 b' class RhodeCodeAuthPlugin(RhodeCodeExter'
197 197 config.add_view(
198 198 'rhodecode.authentication.views.AuthnPluginViewBase',
199 199 attr='settings_get',
200 renderer='rhodecode:templates/admin/auth/plugin_settings.html',
200 201 request_method='GET',
201 202 route_name='auth_home',
202 203 context=CrowdAuthnResource)
203 204 config.add_view(
204 205 'rhodecode.authentication.views.AuthnPluginViewBase',
205 206 attr='settings_post',
207 renderer='rhodecode:templates/admin/auth/plugin_settings.html',
206 208 request_method='POST',
207 209 route_name='auth_home',
208 210 context=CrowdAuthnResource)
@@ -83,12 +83,14 b' class RhodeCodeAuthPlugin(RhodeCodeExter'
83 83 config.add_view(
84 84 'rhodecode.authentication.views.AuthnPluginViewBase',
85 85 attr='settings_get',
86 renderer='rhodecode:templates/admin/auth/plugin_settings.html',
86 87 request_method='GET',
87 88 route_name='auth_home',
88 89 context=HeadersAuthnResource)
89 90 config.add_view(
90 91 'rhodecode.authentication.views.AuthnPluginViewBase',
91 92 attr='settings_post',
93 renderer='rhodecode:templates/admin/auth/plugin_settings.html',
92 94 request_method='POST',
93 95 route_name='auth_home',
94 96 context=HeadersAuthnResource)
@@ -74,12 +74,14 b' class RhodeCodeAuthPlugin(RhodeCodeExter'
74 74 config.add_view(
75 75 'rhodecode.authentication.views.AuthnPluginViewBase',
76 76 attr='settings_get',
77 renderer='rhodecode:templates/admin/auth/plugin_settings.html',
77 78 request_method='GET',
78 79 route_name='auth_home',
79 80 context=JasigCasAuthnResource)
80 81 config.add_view(
81 82 'rhodecode.authentication.views.AuthnPluginViewBase',
82 83 attr='settings_post',
84 renderer='rhodecode:templates/admin/auth/plugin_settings.html',
83 85 request_method='POST',
84 86 route_name='auth_home',
85 87 context=JasigCasAuthnResource)
@@ -328,12 +328,14 b' class RhodeCodeAuthPlugin(RhodeCodeExter'
328 328 config.add_view(
329 329 'rhodecode.authentication.views.AuthnPluginViewBase',
330 330 attr='settings_get',
331 renderer='rhodecode:templates/admin/auth/plugin_settings.html',
331 332 request_method='GET',
332 333 route_name='auth_home',
333 334 context=LdapAuthnResource)
334 335 config.add_view(
335 336 'rhodecode.authentication.views.AuthnPluginViewBase',
336 337 attr='settings_post',
338 renderer='rhodecode:templates/admin/auth/plugin_settings.html',
337 339 request_method='POST',
338 340 route_name='auth_home',
339 341 context=LdapAuthnResource)
@@ -82,12 +82,14 b' class RhodeCodeAuthPlugin(RhodeCodeExter'
82 82 config.add_view(
83 83 'rhodecode.authentication.views.AuthnPluginViewBase',
84 84 attr='settings_get',
85 renderer='rhodecode:templates/admin/auth/plugin_settings.html',
85 86 request_method='GET',
86 87 route_name='auth_home',
87 88 context=PamAuthnResource)
88 89 config.add_view(
89 90 'rhodecode.authentication.views.AuthnPluginViewBase',
90 91 attr='settings_post',
92 renderer='rhodecode:templates/admin/auth/plugin_settings.html',
91 93 request_method='POST',
92 94 route_name='auth_home',
93 95 context=PamAuthnResource)
@@ -52,12 +52,14 b' class RhodeCodeAuthPlugin(RhodeCodeAuthP'
52 52 config.add_view(
53 53 'rhodecode.authentication.views.AuthnPluginViewBase',
54 54 attr='settings_get',
55 renderer='rhodecode:templates/admin/auth/plugin_settings.html',
55 56 request_method='GET',
56 57 route_name='auth_home',
57 58 context=RhodecodeAuthnResource)
58 59 config.add_view(
59 60 'rhodecode.authentication.views.AuthnPluginViewBase',
60 61 attr='settings_post',
62 renderer='rhodecode:templates/admin/auth/plugin_settings.html',
61 63 request_method='POST',
62 64 route_name='auth_home',
63 65 context=RhodecodeAuthnResource)
General Comments 0
You need to be logged in to leave comments. Login now