Skip to content

Commit

Permalink
Add wifi
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Apr 15, 2024
1 parent 28e15c6 commit 55fa553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function svg() {

break;
case 'wifi':
$result = $formatter->formatWifi($this->request->getData('Wifi.network'), $this->request->getData('Wifi.password'), $this->request->getData('Wifi.type'));
$result = $formatter->formatWifi($this->request->getData('Wifi.network'), $this->request->getData('Wifi.key'), $this->request->getData('Wifi.type'));

break;
case 'geo':
Expand Down
2 changes: 1 addition & 1 deletion plugins/Sandbox/templates/QrCodeExamples/complex.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
];
echo $this->Form->control('Wifi.type', ['options' => $types]);
echo $this->Form->control('Wifi.network', ['placeholder' => 'SSID']);
echo $this->Form->control('Wifi.password', ['placeholder' => 'Must not contain ; characters']);
echo $this->Form->control('Wifi.key', ['placeholder' => 'Pwd must not contain ; characters']);
?>
</div>

Expand Down

0 comments on commit 55fa553

Please sign in to comment.