Skip to content

Conversation

@Simon-Laux
Copy link
Member

@Simon-Laux Simon-Laux commented Jan 19, 2026

closes #7705

@Simon-Laux Simon-Laux marked this pull request as draft January 19, 2026 18:58
if !param.dns_prefill.is_empty() {
let mut ips: Vec<IpAddr> = Vec::new();
for ip in &param.dns_prefill {
match ip.parse::<IpAddr>() {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also already parse the IP addresses while parsing the QR code in login_param_from_account_qr.

Also, there is the question we should ignore invalid IP aggresses or if we should fail parsing the QR code if one address is invalid. Currently, it just emits an error event, but it continues with the rest of the IP addresses. Explicit error during parsing may be better?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make it possible to specify IP addresses in dcaccount: scheme

2 participants