Fix admin key 3 typo

This commit is contained in:
Garth Vander Houwen 2025-06-15 12:40:30 -07:00
parent 9f9313ffba
commit fd901ac4d0

View file

@ -192,7 +192,7 @@ struct SecurityConfig: View {
} else {
hasValidAdminKey3 = false
}
if key != node?.securityConfig?.adminKey2?.base64EncodedString() ?? "" && hasValidAdminKey3 { hasChanges = true }
if key != node?.securityConfig?.adminKey3?.base64EncodedString() ?? "" && hasValidAdminKey3 { hasChanges = true }
}
.onFirstAppear {
// Need to request a SecurityConfig from the remote node before allowing changes