{BUGFIX} Default values

This commit is contained in:
Damien Broqua 2023-08-02 16:16:27 +02:00
parent 4109186a47
commit 6862afda5c

View file

@ -140,5 +140,5 @@
<script> <script>
const email = '<%= user.email %>'; const email = '<%= user.email %>';
const username = '<%= user.username %>'; const username = '<%= user.username %>';
const mastodon = <%- JSON.stringify(user.mastodon) %>; const mastodon = <%- JSON.stringify(user.mastodon || {publish: false, url: '', token: '', message: ''}) %>;
</script> </script>