Variable de passe à thymeleaf à javascript
<script th:inline="javascript">
var username = [[${session.user.name}]];
</script>
Wild Wren
<script th:inline="javascript">
var username = [[${session.user.name}]];
</script>