Adding multi-session cookie
Этот коммит содержится в:
@@ -18,13 +18,6 @@
|
||||
<link rel="manifest" href="/static/config/manifest.json">
|
||||
<!-- Android add to homescreen -->
|
||||
|
||||
<script>
|
||||
window.mm_config = {{ .ClientCfg }};
|
||||
window.mm_team = {{ .Team }};
|
||||
window.mm_user = {{ .User }};
|
||||
window.mm_session = {{ .Session }};
|
||||
</script>
|
||||
|
||||
<!-- CSS Should always go first -->
|
||||
<link rel="stylesheet" href="/static/css/bootstrap-3.3.5.min.css">
|
||||
<link rel="stylesheet" href="/static/css/jasny-bootstrap.min.css">
|
||||
@@ -46,6 +39,16 @@
|
||||
|
||||
<style id="antiClickjack">body{display:none !important;}</style>
|
||||
|
||||
<script>
|
||||
window.mm_config = {{ .ClientCfg }};
|
||||
window.mm_team = {{ .Team }};
|
||||
window.mm_user = {{ .User }};
|
||||
window.mm_session_token_hash = {{ .SessionTokenHash }};
|
||||
$.ajaxSetup({
|
||||
headers: { 'X-MM-TokenHash': mm_session_token_hash }
|
||||
});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
window.onerror = function(msg, url, line, column, stack) {
|
||||
var l = {};
|
||||
|
||||
Ссылка в новой задаче
Block a user