Skip to content

Commit

Permalink
add placeholder for wifi pass
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-wilson committed Jan 7, 2024
1 parent e0a0ee8 commit a78045d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class EditComponent implements OnInit {
]],
stratumUser: [info.stratumUser, [Validators.required]],
ssid: [info.ssid, [Validators.required]],
wifiPass: [info.wifiPass],
wifiPass: ['password'],
coreVoltage: [info.coreVoltage, [Validators.required]],
frequency: [info.frequency, [Validators.required]],
autofanspeed: [info.autofanspeed == 1, [Validators.required]],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class SettingsComponent {
]],
stratumUser: [info.stratumUser, [Validators.required]],
ssid: [info.ssid, [Validators.required]],
wifiPass: [info.wifiPass],
wifiPass: ['password'],
coreVoltage: [info.coreVoltage, [Validators.required]],
frequency: [info.frequency, [Validators.required]],
autofanspeed: [info.autofanspeed == 1, [Validators.required]],
Expand Down
1 change: 0 additions & 1 deletion main/http_server/axe-os/src/models/ISystemInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export interface ISystemInfo {
freeHeap: number,
coreVoltage: number,
ssid: string,
wifiPass: string,
wifiStatus: string,
sharesAccepted: number,
sharesRejected: number,
Expand Down

2 comments on commit a78045d

@johnny9
Copy link
Collaborator

@johnny9 johnny9 commented on a78045d Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you send an update will this now set your wifi password to 'password'?

@benjamin-wilson
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes... i'll get that fixed.

Please sign in to comment.