Wifi password

Hi , looking for help with Cayenne ssid and password .

I have set up a WEMOS D1 MINI with a couple of temp sensors and a control relay on my home WIFI and it works properly both locally and remotely.
Problem Im having is i actually built it to use at another location on a different WIFI connection but Im unable to change the current settings to the new location and the device connects to my home WIFI even when i remove the ssid and password save it and upload again.

Seems strange that it could connect without the security information in the code .
Maybe its to do with MQTT format ?

Any help appreciated.

Dave

if you re-upload with new ssid and password it should connect to the new wifi.
add this line #define CAYENNE_DEBUG and see which wifi it is connecting to in your serial monitor.