Skip to content

Commit

Permalink
Add remote name for logins
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jul 27, 2024
1 parent 4b70541 commit 0126749
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/connector/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ func (dl *DummyLogin) Wait(ctx context.Context) (*bridgev2.LoginStep, error) {

func (dl *DummyLogin) SubmitUserInput(ctx context.Context, input map[string]string) (*bridgev2.LoginStep, error) {
ul, err := dl.User.NewLogin(ctx, &database.UserLogin{
ID: networkid.UserLoginID(input["username"]),
ID: networkid.UserLoginID(input["username"]),
RemoteName: input["username"],
}, &bridgev2.NewLoginParams{})
if err != nil {
return nil, err
Expand Down

0 comments on commit 0126749

Please sign in to comment.