forked from projects/fipamo
user session data is updated when user info is edited
This commit is contained in:
parent
df9ebc7706
commit
53da617ee4
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ export default class Settings {
|
||||||
result.folks[index].handle != payload.member.handle ||
|
result.folks[index].handle != payload.member.handle ||
|
||||||
result.folks[index].email != payload.member.email
|
result.folks[index].email != payload.member.email
|
||||||
) {
|
) {
|
||||||
|
user.handle = payload.member.handle;
|
||||||
|
user.email = payload.member.email;
|
||||||
result.folks[index].handle = payload.member.handle;
|
result.folks[index].handle = payload.member.handle;
|
||||||
result.folks[index].email = payload.member.email;
|
result.folks[index].email = payload.member.email;
|
||||||
fs.writeJson('site/folks.json', result.folks);
|
fs.writeJson('site/folks.json', result.folks);
|
||||||
|
|
Loading…
Reference in a new issue