Compare commits
32 commits
041e24e26f
...
30bd3ebdf9
Author | SHA1 | Date | |
---|---|---|---|
|
30bd3ebdf9 | ||
|
5a7d9d707f | ||
7b525d3e43 | |||
e01dbd5c31 | |||
3626b074bd | |||
97b8bab2f4 | |||
15eb2c2dad | |||
ec5e43889f | |||
c2ff54ecf2 | |||
bfdb19eec1 | |||
1df39410c3 | |||
13209a9b1d | |||
b630e73c79 | |||
c743f0d3a4 | |||
68004646f1 | |||
55a9656c42 | |||
4c442edf21 | |||
50f01805d4 | |||
663eb586cf | |||
c1b01ea4c0 | |||
fe3ed3e91f | |||
8822056c1f | |||
dff1d2baf0 | |||
d446735450 | |||
a7e41949dc | |||
a56db99a81 | |||
e01f01337c | |||
980586d8eb | |||
8f9e902587 | |||
a74c67e241 | |||
eac7c1aa84 | |||
748edc9cc4 |
2 changed files with 4 additions and 2 deletions
|
@ -37,7 +37,9 @@ 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