Compare commits
No commits in common. "30bd3ebdf9cef72b9ddcdbb8dbdb0cef66db46ad" and "041e24e26fb759d251a1e7689132c7f8b0d38c34" have entirely different histories.
30bd3ebdf9
...
041e24e26f
2 changed files with 2 additions and 4 deletions
|
@ -37,9 +37,7 @@ class Me extends Pages {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (value.mastodon !== undefined) {
|
|
||||||
user.mastodon = value.mastodon;
|
user.mastodon = value.mastodon;
|
||||||
}
|
|
||||||
|
|
||||||
if (value.password) {
|
if (value.password) {
|
||||||
user.salt = value.password;
|
user.salt = value.password;
|
||||||
|
|
|
@ -140,4 +140,4 @@
|
||||||
const email = '<%= user.email %>';
|
const email = '<%= user.email %>';
|
||||||
const username = '<%= user.username %>';
|
const username = '<%= user.username %>';
|
||||||
const mastodon = <%- JSON.stringify(user.mastodon || {publish: false, url: '', token: '', message: ''}) %>;
|
const mastodon = <%- JSON.stringify(user.mastodon || {publish: false, url: '', token: '', message: ''}) %>;
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue