flashed messages for unauthenticated users too!

This commit is contained in:
Patrick Jentsch 2020-05-27 13:34:55 +02:00
parent ba916b70bd
commit d5569fa65b

View File

@ -57,8 +57,8 @@
nopaque.socket.init(); nopaque.socket.init();
nopaque.socket.emit("user_data_stream_init"); nopaque.socket.emit("user_data_stream_init");
}); });
nopaque.flashedMessages = {{ get_flashed_messages(with_categories=True)|tojson }};
{% endif %} {% endif %}
nopaque.flashedMessages = {{ get_flashed_messages(with_categories=True)|tojson }};
</script> </script>
</head> </head>
<body> <body>