Skip to content
  • JSConnect SSO

    NodeBB Plugins
    13
    0 Votes
    13 Posts
    6k Views
    manuelM

    i also added this code to load default preferences (inside the "success" function when creating a new user)

    User.setSetting(uid, 'dailyDigestFreq', 'week', null); User.setSetting(uid, 'notificationSounds', 1, null); User.setSetting(uid, 'followTopicsOnCreate', 1, null); User.setSetting(uid, 'followTopicsOnReply', 1, null); User.setSetting(uid, 'sendChatNotifications', 1, null);