feat: enable/disable TFA per user

This commit is contained in:
NGPixel committed 2020-08-30 14:18:22 -04:00
1 parent 32d67adee1
commit e319355017
6 files changed
+144 -33

No files matched your search

+1 -1
View File
@@ -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'},