Skip to content

Commit 7470324

Browse files
committed
Improve code readability (describing the timeout)
1 parent 6ff1acd commit 7470324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/WebAuthn/WebAuthnManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public struct WebAuthnManager: Sendable {
5858
/// - Returns: Registration options ready for the browser.
5959
public func beginRegistration(
6060
user: PublicKeyCredentialUserEntity,
61-
timeout: Duration? = .milliseconds(300000),
61+
timeout: Duration? = .seconds(60*5),
6262
attestation: AttestationConveyancePreference = .none,
6363
publicKeyCredentialParameters: [PublicKeyCredentialParameters] = .supported
6464
) -> PublicKeyCredentialCreationOptions {

0 commit comments

Comments
 (0)