After connecting to the hotel’s open wifi SSID, they usually have a captive portal that displays a page on which you have enter information (e.g., password, name, room number, etc.) and/or accept terms & conditions before the connection is allowed to access Internet.
I do not work for and I am not directly associated with GL.iNet