From f7e62862044ce718673ea7b192ea51aa56e718b5 Mon Sep 17 00:00:00 2001 From: denihs Date: Fri, 21 Jan 2022 14:35:36 -0400 Subject: [PATCH] Changes requested on code review - fixing typo --- docs/source/packages/accounts-2fa.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/packages/accounts-2fa.md b/docs/source/packages/accounts-2fa.md index e67c5b3125..8f981962fc 100644 --- a/docs/source/packages/accounts-2fa.md +++ b/docs/source/packages/accounts-2fa.md @@ -77,7 +77,7 @@ To verify whether or not a user has 2FA enabled, you can call the function `Acco {% apibox "Accounts.has2faEnabled" "module":"accounts-base" %} -With this function, you can check whether or not the user has 2FA enabled, and based on this information, you can directly log the user in the 2FA is not enabled, or redirect the user to a place where they can provide a code, in case they do have 2FA enabled. +With this function, you can check whether or not the user has 2FA enabled, and based on this information, you can directly call `Meteor.loginWithPassword` if the 2FA is not enabled, or redirect the user to a place where they can provide a code, in case they do have 2FA enabled. A way of using it would be: