Access to server on subpath when url is not configured throws a bad response

Description

on a server with a subpath (maybe others too, but haven't tested), after removing the Site URL from the system console and login out, user can't login using email+password (didn’t test other methods as I don’t have a onelogin dev account) again through the desktop app but can through webapp.

on the input fields there is a "bad response from server" but there wasn't any relevant logs (see attachment)

QA Test Steps

None

Status

Mana

None

Assignee

Unassigned

QA Assignee

None

Reporter

Guillermo Vayá

Epic Link

None

Fix versions

Mattermost Team

Apps

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None
Configure