# HG changeset patch # User Marcin Kuzminski # Date 2018-03-27 11:50:56 # Node ID 8b68aff1069201265ebded45a01b33c41a55061c # Parent 13f7e22f0d8b9c306ab43a7f8f3d9f4c7435d062 auth-plugins: use a nicer visual display of auth plugins that would highlight that order is important. - fixed help text. diff --git a/rhodecode/authentication/views.py b/rhodecode/authentication/views.py --- a/rhodecode/authentication/views.py +++ b/rhodecode/authentication/views.py @@ -145,7 +145,7 @@ class AuthSettingsView(BaseAppView): # Create form default values and fill the form. form_defaults = { - 'auth_plugins': ','.join(enabled_plugins) + 'auth_plugins': ',\n'.join(enabled_plugins) } form_defaults.update(defaults) html = formencode.htmlfill.render( diff --git a/rhodecode/templates/admin/auth/auth_settings.mako b/rhodecode/templates/admin/auth/auth_settings.mako --- a/rhodecode/templates/admin/auth/auth_settings.mako +++ b/rhodecode/templates/admin/auth/auth_settings.mako @@ -54,11 +54,9 @@
${h.textarea('auth_plugins',cols=23,rows=5,class_="medium")}
-

- ${_('Add a list of plugins, separated by commas. ' - 'The order of the plugins is also the order in which ' - 'RhodeCode Enterprise will try to authenticate a user.')} -

+

${_('List of plugins, separated by commas.' + '\nThe order of the plugins is also the order in which ' + 'RhodeCode Enterprise will try to authenticate a user.')}

@@ -91,15 +89,19 @@