Changes

From SME Server
Jump to navigationJump to search
186 bytes added ,  13:08, 7 October 2020
no edit summary
Line 372: Line 372:     
  db.getCollection('users').find({}, {"username":1, "settings.preferences.showMessageInMainThread":1})
 
  db.getCollection('users').find({}, {"username":1, "settings.preferences.showMessageInMainThread":1})
 +
 +
Reset 2FA nonsense:
 +
 +
db.users.update({'username': 'SomeUserName'}, {$unset: {'services.totp': 1}});
 +
db.users.update({'username': 'SomeUserName'}, {$unset: {'services.email2fa': 1}});
    
===Database Backup===
 
===Database Backup===

Navigation menu