Fix custom parameters for guest users. close #9737
This commit is contained in:
parent
0475d4c3b3
commit
9690597803
@ -180,7 +180,7 @@ class JoinHandler extends Component {
|
||||
logUserInfo();
|
||||
|
||||
Tracker.autorun(async (cd) => {
|
||||
const user = Users.findOne({ userId: Auth.userID, authed: true }, { fields: { _id: 1 } });
|
||||
const user = Users.findOne({ userId: Auth.userID, approved: true }, { fields: { _id: 1 } });
|
||||
|
||||
if (user) {
|
||||
await setCustomData(response);
|
||||
|
Loading…
Reference in New Issue
Block a user