mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-13 04:15:30 +00:00
templates: fix the error.html template when missing the locale
This commit is contained in:
@@ -15,7 +15,7 @@ limitations under the License.
|
||||
#}
|
||||
|
||||
{# Sometimes we don't have the language set, so we default to english #}
|
||||
{% set lang = lang | default("en") %}
|
||||
{% set lang = lang or "en" %}
|
||||
|
||||
{% extends "base.html" %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user