Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pam/internal/adapter/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type uiModel struct {
authModeSelectionModel authModeSelectionModel
authenticationModel authenticationModel
gdmModel gdmModel
nativeModel nativeModel
nativeModel nativeClient

// exitStatus is a pointer to the [PamReturnStatus] value where the
// exit status will be written to.
Expand Down Expand Up @@ -157,7 +157,7 @@ func newUIModelForClients(mTx pam.ModuleTransaction, clientType PamClientType, m
case Gdm:
m.gdmModel = gdmModel{pamMTx: m.pamMTx}
case Native:
m.nativeModel = newNativeModel(m.pamMTx, userServiceClient)
m.nativeModel = newNativeModel(m.pamMTx, m.client, mode, userServiceClient)
}

m.userSelectionModel = newUserSelectionModel(m.pamMTx, m.clientType)
Expand Down
Loading
Loading