]> git.proxmox.com Git - flutter/proxmox_login_manager.git/commit
login form: fix port autodetection
authorAaron Lauterer <a.lauterer@proxmox.com>
Tue, 25 Apr 2023 09:15:02 +0000 (11:15 +0200)
committerAaron Lauterer <a.lauterer@proxmox.com>
Tue, 25 Apr 2023 09:15:02 +0000 (11:15 +0200)
commita9088853079acac23fa7e64b63c8b6d6177aa81e
tree32e3363b1431a55b06df3c0baec1033b7dad3866
parent83167c0a3c778a7e78d3fa0dca67c70aa6a99d9a
login form: fix port autodetection

The port 443 check was not triggered as 'hasPort' was already false.

Only add the port 443 to the IP/Url is the check was successful, otherwise
we leave the entered IP/Url as is. The use will need to fix it before we
can try to connect again.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
lib/proxmox_login_form.dart