From 7726549581a8a896f048bf405e55c7536d5fd6f9 Mon Sep 17 00:00:00 2001 From: Rockford Wei Date: Tue, 15 Aug 2023 12:23:38 -0400 Subject: [PATCH] Update Transient.swift to allow configurable one time code settings --- Sources/PerfectAuth/Transient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/PerfectAuth/Transient.swift b/Sources/PerfectAuth/Transient.swift index 41f561f4..456c437e 100644 --- a/Sources/PerfectAuth/Transient.swift +++ b/Sources/PerfectAuth/Transient.swift @@ -25,7 +25,7 @@ public final class Transient { case invalidCode case expired } - public static let minimalRetrySeconds = 60 + public static var minimalRetrySeconds = 60 public static let expirySeconds = 900 // 15 minutes public static let dbPath = "/tmp/perfect-transient.sqlite3" private static let queue = DispatchQueue(label: UUID().uuidString)