Skip to content

Commit a17f875

Browse files
committed
format mfa api
1 parent a7c91f6 commit a17f875

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/gotrue/lib/src/gotrue_mfa_api.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class GoTrueMFAApi {
2828

2929
/// Starts the enrollment process for a new Multi-Factor Authentication (MFA) factor.
3030
/// This method creates a new `unverified` factor.
31-
///
31+
///
3232
/// For TOTP: To verify a factor, present the QR code or secret to the user and ask them to add it to their authenticator app.
3333
/// For Phone: The user will receive an SMS with a verification code.
3434
///
@@ -50,12 +50,12 @@ class GoTrueMFAApi {
5050
String? phone,
5151
}) async {
5252
final session = _client.currentSession;
53-
53+
5454
final body = <String, dynamic>{
5555
'friendly_name': friendlyName,
5656
'factor_type': factorType.name,
5757
};
58-
58+
5959
if (factorType == FactorType.totp) {
6060
body['issuer'] = issuer;
6161
} else if (factorType == FactorType.phone) {
@@ -64,7 +64,7 @@ class GoTrueMFAApi {
6464
}
6565
body['phone'] = phone;
6666
}
67-
67+
6868
final data = await _fetch.request(
6969
'${_client._url}/factors',
7070
RequestMethodType.post,

0 commit comments

Comments
 (0)