Create a new hotspot - Izanami/hotspot-login GitHub Wiki
Edit lib/hl.rb
class MyHotspot < Hotspot
def hotspot?
info.host == "myhospot.org" // Check if connect to the hotspot
end
def auth
query = params.merge!({user: @user, password: password: @password, foo: "baz"}) // Add params for request
post("https://myhospot.org", query) // Send request
end
end