How to send a notification to a device when it connects to a WiFi network without a specific app?
You can stop that in the future by:

Changing: File Name

Captive network assistant


to

No More captive network assistant


in System/Library/CoreServices

So the file is still there. 

If you want to change it back just change the name back to original