diff --git a/templates/zerver/config_error.html b/templates/zerver/config_error.html index af248e6e0d..616103f518 100644 --- a/templates/zerver/config_error.html +++ b/templates/zerver/config_error.html @@ -51,6 +51,11 @@ {% if google_error %} {% if development_environment %} {{ render_markdown_path('zerver/google-error.md', {"root_domain_uri": root_domain_uri, "settings_path": secrets_path, "secrets_path": secrets_path, "client_id_key_name": "social_auth_google_key"}) }} +

+ For more information, have a look at + the authentication + setup guide for the development environment. +

{% else %} {{ render_markdown_path('zerver/google-error.md', {"root_domain_uri": root_domain_uri, "settings_path": settings_path, "secrets_path": secrets_path, "client_id_key_name": "SOCIAL_AUTH_GOOGLE_KEY"}) }} {% endif %} @@ -59,19 +64,18 @@ {% if github_error %} {% if development_environment %} {{ render_markdown_path('zerver/github-error.md', {"root_domain_uri": root_domain_uri, "settings_path": secrets_path, "secrets_path": secrets_path, "client_id_key_name": "social_auth_github_key"}) }} +

+ For more information, have a look at + the authentication + setup guide for the development environment. +

{% else %} {{ render_markdown_path('zerver/github-error.md', {"root_domain_uri": root_domain_uri, "settings_path": settings_path, "secrets_path": secrets_path, "client_id_key_name": "SOCIAL_AUTH_GITHUB_KEY"}) }} {% endif %} {% endif %} {% if google_error or github_error %} - {% if development_environment %} -

- For more information, have a look at - the authentication - setup guide for the development environment. -

- {% else %} + {% if not development_environment %}

For more information, have a look at our authentication