Skip to content

Commit

Permalink
Merge pull request #57 from mikevanis/master
Browse files Browse the repository at this point in the history
Always show remote wifi form in captive portal
  • Loading branch information
mikevanis authored Oct 15, 2020
2 parents 0b94dde + f580fcb commit b662127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions ESP32-SOCKETIO.ino
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ void setup() {
macCredentials = preferences.getString("mac", "");
preferences.end();

Serial.println("There are stored wifi and mac addresses (not shown for privacy)");

setPairedStatus();

if (wifiCredentials == "" || getNumberOfMacAddresses() < 2) {
Expand Down
4 changes: 2 additions & 2 deletions data/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function configureDisplay(local_paired_status) {
case 'remoteSetup':
console.log("remote");
//Show local wifi form, local and remote IDs
$('#remoteWifiForm').hide();
$('#remoteWifiForm').show();
$('#remoteMacForm').show();
break;
case 'localSetup':
Expand All @@ -50,7 +50,7 @@ function configureDisplay(local_paired_status) {
case 'pairedSetup':
//just show local wifi details
console.log("paired");
$('#remoteWifiForm').hide();
$('#remoteWifiForm').show();
$('#remoteMacForm').hide();
break;
}
Expand Down

0 comments on commit b662127

Please sign in to comment.