{BUGFIX} Default values
This commit is contained in:
parent
4109186a47
commit
6862afda5c
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue