Installation Update + Bugfixes
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ user.lang }}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
{% block head %}
|
||||
<title>{{ site.title }}</title>
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% block body %}
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
@@ -41,13 +41,13 @@
|
||||
SwaggerUIBundle.plugins.DownloadUrl
|
||||
],
|
||||
layout: "StandaloneLayout",
|
||||
{% if user.loggedIn %}
|
||||
{% if user.loggedIn %}
|
||||
requestInterceptor: request => {
|
||||
request.headers['XSRF-Token'] = '{{ user.session.csrfToken }}';
|
||||
return request;
|
||||
}
|
||||
{% endif %}
|
||||
});
|
||||
{% endif %}
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user