Skip to content

Commit 440b9af

Browse files
committed
adding singin for totp in demoapp
1 parent 6727709 commit 440b9af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/auth/demo/src/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,10 @@ function onSelectMultiFactorHint(index) {
11531153
// Clear all input.
11541154
$('#multi-factor-sign-in-verification-id').val('');
11551155
$('#multi-factor-sign-in-verification-code').val('');
1156-
} else {
1156+
} else if(multiFactorErrorResolver.hints[index].factorId === 'totp'){
1157+
alertError('Working on Totp');
1158+
}
1159+
else {
11571160
// 2nd factor not found or not supported by app.
11581161
alertError('Selected 2nd factor is not supported!');
11591162
}

0 commit comments

Comments
 (0)