We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cdead8 commit 5d143efCopy full SHA for 5d143ef
packages/auth/lib/multiFactor.js
@@ -1,4 +1,4 @@
1
-import { reload } from "./modular";
+import { reload } from './modular';
2
/**
3
* Return a MultiFactorUser instance the gateway to multi-factor operations.
4
*/
@@ -34,7 +34,7 @@ export class MultiFactorUser {
34
} else if (totpSecret && verificationCode) {
35
await this._auth.native.finalizeTotpEnrollment(totpSecret, verificationCode, displayName);
36
} else {
37
- throw new Error("Invalid multi-factor assertion provided for enrollment.");
+ throw new Error('Invalid multi-factor assertion provided for enrollment.');
38
}
39
40
// We need to reload the user otherwise the changes are not visible
0 commit comments