auth-token: added missing renderers for token plugin

This commit is contained in:
Marcin Kuzminski 2016-06-03 20:49:04 +02:00
parent 4b1d4ec44b
commit eda3da26e5

View file

@ -55,12 +55,14 @@ class RhodeCodeAuthPlugin(RhodeCodeAuthPluginBase):
config.add_view(
'rhodecode.authentication.views.AuthnPluginViewBase',
attr='settings_get',
renderer='rhodecode:templates/admin/auth/plugin_settings.html',
request_method='GET',
route_name='auth_home',
context=RhodecodeAuthnResource)
config.add_view(
'rhodecode.authentication.views.AuthnPluginViewBase',
attr='settings_post',
renderer='rhodecode:templates/admin/auth/plugin_settings.html',
request_method='POST',
route_name='auth_home',
context=RhodecodeAuthnResource)