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

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

How to reset two factor authenticator

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 1.0k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Peter-Zoltan KeresztesP Offline
    Peter-Zoltan KeresztesP Offline
    Peter-Zoltan Keresztes
    wrote on last edited by
    #1

    Hello,

    I have set up a two factor authenticator on my nodebb for my account and in meantime my phone broke and I need to set up a new one with it but I cannot login to the account only if I disable the plugin and I have no options then to reset the 2f authenticator. When I enable the plugin again then it asks me for the code which obviously I don't have.

    Anyone can help with this issue?

    Regards,
    Peter

    1 Reply Last reply
    0
  • Peter-Zoltan KeresztesP Offline
    Peter-Zoltan KeresztesP Offline
    Peter-Zoltan Keresztes
    wrote on last edited by
    #2

    How would anyone have the guts to install a plugin like this if no one is able to support it or give suggestions on how to fix things like this.

    1 Reply Last reply
    -1
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    wrote on last edited by yariplus
    #3

    Hello @Peter-Zoltan-Keresztes, I apologize that your post may have been overlooked.

    If you cannot access your phone or your 2fa backup codes, you should still be able to disassociate your account by writing directly to the database, as the plugin does here, by deleting the keys and backup codes for your uid.

    The Mongo commands should be:

    db.objects.update({_key: "2factor:uid:key"},{$unset: {"youruidhere": 1}}
    db.objects.remove({_key: "2factor:uid:youruidhere:backupCodes"}}

    replacing youruidhere with your uid

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

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