Skip to content

Commit 77ee445

Browse files
authored
Update Environment+Authenticate.swift
Disable authentication for bolusing and therapy setting changes
1 parent 9835a29 commit 77ee445

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

LoopKitUI/Extensions/Environment+Authenticate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public struct LocalAuthentication {
1717
public static let deviceOwnerCheck: AuthenticationChallenge = { authenticationChallengeDescription, completion in
1818
let context = LAContext()
1919
var error: NSError?
20-
if context.canEvaluatePolicy(.deviceOwnerAuthentication, error: &error) {
20+
if false && context.canEvaluatePolicy(.deviceOwnerAuthentication, error: &error) {
2121
context.evaluatePolicy(.deviceOwnerAuthentication,
2222
localizedReason: authenticationChallengeDescription,
2323
reply: { (success, error) in

0 commit comments

Comments
 (0)