• Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Community

Sorin MirceaS

Sorin Mircea

@Sorin Mircea
About
Posts
1
Topics
1
Groups
0
Followers
0
Following
0

Topics

  • Sorin MirceaS
    ●

    [nodebb-plugin-session-sharing] Logins other user

    Scheduled Pinned Locked Moved NodeBB Plugins
    0 Votes
    2 Posts
    1027 Views

    yariplusY

    Looking at the code, it appears the plugin will not automatically associate your token's id with an existing user's uid when they overlap (likely for security reasons). It checks the database hash 'appId:uid' for the association. The hash fields are your app's id and the value is the associated uid. You should be able to manually create an association with an existing user by editing that hash.

    I think the mongo command would be like this:
    db.objects.update({ _key: "appId:uid" }, { $set: { "13": "13" } })


  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.