Every time I try to connect to a public Wi-Fi with a login (train station, hotel), my Mac (macOS 10.14.4) connects but generates an error when asking for the credentials:
Rebooting does not solve the problem. Any idea what I could try?
Using Cmd + Spacebar, Open System Preferences -> Network -> Wifi -> Advanced -> DNS
In the DNS section, remove all the DNS addresses and search domains and apply the new settings, so that the public wifi could use the one that it is configured with.
Because normally Apple approves the only secure connection. So the connection is not secure to connect.