]> git.proxmox.com Git - pve-manager.git/commit
ui: login: do not show connection failure as login failure
authorOguz Bektas <o.bektas@proxmox.com>
Wed, 24 Jul 2019 15:46:20 +0000 (17:46 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 Jul 2019 16:34:18 +0000 (18:34 +0200)
commitf41b67ab7c6872193dc14a1f72b82229222e6d75
treeb05e16236070b378051edc14a4233c58ba1ba708
parent0ea3b8499bf289d20edf92532feef59145a4743e
ui: login: do not show connection failure as login failure

In case pvedaemon, pveproxy is not running or we get somehow else a
595 response (connection failure), we want to tell this to the user,
since "Login failed" doesn't help.

Handle all connection failures, leave the rest the same. We could go
into more detail (CONNECT_FAILURE, CLIENT_INVALID, LOAD_FAILURE and
SERVER_INVALID), but i didn't see any reason to make all these
distinctions now.

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
www/manager6/window/LoginWindow.js