Lines Matching defs:tfa
45 tfa: { pending: false, mode: 'auth-and-writes' },
109 t.test('no tfa enabled', async t => {
114 tfa: null,
611 tfa: {
615 'should set tfa mode'
619 tfa: null,
674 tfa: {
688 tfa: {
699 tfa: {
703 'should set tfa mode approprietly in follow-up call'
709 tfa: ['123456'],
711 'should set tfa as otp code?'
715 tfa: ['123456', '789101'],
721 tfa: 'otpauth://foo?secret=1234',
762 tfa: {
770 tfa: 'http://foo?secret=1234',
809 tfa: null,
842 t.test('missing tfa from user profile', async t => {
847 tfa: undefined,
853 tfa: null,
890 tfa: undefined,
896 tfa: null,
929 t.test('no tfa enabled', async t => {
934 tfa: null,
957 tfa: {
1007 t.same(JSON.parse(result()), { tfa: false }, 'should output json already disabled msg')
1023 t.equal(result(), 'tfa\tfalse', 'should output parseable already disabled msg')
1038 tfa: {
1102 const noAutocompleteCmds = ['disable-2fa', 'disable-tfa', 'get', 'set']