6 lines
184 B
Plaintext
6 lines
184 B
Plaintext
|
export function replaceCurrentUser(properties) {
|
||
|
const currentUser = Discourse.User.current();
|
||
|
currentUser.setProperties(properties);
|
||
|
Discourse.User.resetCurrent(currentUser);
|
||
|
}
|