# HG changeset patch # User Goffi # Date 1551629748 -3600 # Node ID e5116a99eb3d777976a5aa299189f41b01134c44 # Parent 9e48f7adfc7b0f681aafea3e2feeb8c7a771175b login/register: display message for invalid certificate diff -r 9e48f7adfc7b -r e5116a99eb3d sat_templates/templates/default/login/register.html --- a/sat_templates/templates/default/login/register.html Sun Mar 03 17:14:54 2019 +0100 +++ b/sat_templates/templates/default/login/register.html Sun Mar 03 17:15:48 2019 +0100 @@ -5,10 +5,12 @@ {% block login_error_message %} {% if login_error == S_C.ALREADY_EXISTS %} {%- trans %}This login already exists, please choose another one.{% endtrans -%} +{% elif login_error == S_C.INVALID_CERTIFICATE %} + {%- trans %}The certificate of the server is invalid. Please contact your server administrator.{% endtrans -%} {% elif login_error == S_C.INVALID_INPUT %} {%- trans %}The data you entered are nod valid.{% endtrans -%} {% elif login_error == S_C.BAD_REQUEST %} - {%- trans %}Bad request, please contact your service administrator{% endtrans -%} + {%- trans %}Bad request, please contact your service administrator.{% endtrans -%} {% else %} {%- trans %}An unknown error occurred, please contact your service administrator.{% endtrans -%} {% endif %}