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