feat: enable/disable TFA per user
This commit is contained in:
1 parent
32d67adee1
commit
e319355017
6 files changed
+144
-33
No files matched your search
@@ -28,7 +28,7 @@ module.exports = class User extends Model {
|
||||
providerId: {type: 'string'},
|
||||
password: {type: 'string'},
|
||||
tfaIsActive: {type: 'boolean', default: false},
|
||||
tfaSecret: {type: 'string'},
|
||||
tfaSecret: {type: ['string', null]},
|
||||
jobTitle: {type: 'string'},
|
||||
location: {type: 'string'},
|
||||
pictureUrl: {type: 'string'},
|
||||
|
||||
Reference in new issue
Block a user