diff --git a/Passepartout/Library/Sources/AppUIMain/Views/Modules/OpenVPNView+Credentials.swift b/Passepartout/Library/Sources/AppUIMain/Views/Modules/OpenVPNView+Credentials.swift index cfe22b22..cfeecc5e 100644 --- a/Passepartout/Library/Sources/AppUIMain/Views/Modules/OpenVPNView+Credentials.swift +++ b/Passepartout/Library/Sources/AppUIMain/Views/Modules/OpenVPNView+Credentials.swift @@ -63,7 +63,7 @@ extension OpenVPNView { .onChange(of: builder) { var copy = $0 if isEligibleForInteractiveLogin { - copy.otp = copy.otp?.nilIfEmpty + copy.otp = copy.otp ?? "" } else { copy.otpMethod = .none copy.otp = nil