PWD-1: Add debug conditional to authentication call

This commit is contained in:
Markus Thielker 2025-01-20 22:50:37 +01:00
parent 6156a42a0e
commit 594aa204ce
No known key found for this signature in database

View file

@ -59,7 +59,9 @@ struct passwordApp: App {
} }
} }
.onAppear { .onAppear {
authenticate() #if !DEBUG
authenticate()
#endif
} }
} }
.modelContainer(for: [Password.self, PasswordAttempt.self]) .modelContainer(for: [Password.self, PasswordAttempt.self])