Skip to content

Commit 3d522d3

Browse files
lacymooretxclaude
andcommitted
Fix PWPush Pro account dropdown not populating
The backend was checking for `PWPushPro` field which doesn't exist in the frontend configuration. The frontend sets `UseBearerAuth` to indicate a PWPush Pro hosted account with Bearer authentication. Changed the condition from: $Configuration.PWPushPro -eq $true to: $Configuration.UseBearerAuth -eq $true This aligns with the frontend's Extensions.json which uses `PWPush.UseBearerAuth` to indicate Pro/hosted accounts. Fixes KelvinTegelaar/CIPP#5057 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent d65e1ad commit 3d522d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CippExtensions/Public/PwPush/Get-PwPushAccount.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function Get-PwPushAccount {
22
$Table = Get-CIPPTable -TableName Extensionsconfig
33
$Configuration = ((Get-CIPPAzDataTableEntity @Table).config | ConvertFrom-Json).PWPush
4-
if ($Configuration.Enabled -eq $true -and $Configuration.PWPushPro -eq $true) {
4+
if ($Configuration.Enabled -eq $true -and $Configuration.UseBearerAuth -eq $true) {
55
Set-PwPushConfig -Configuration $Configuration
66
Get-PushAccount
77
} else {

0 commit comments

Comments
 (0)