Skip to content
Merged
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
fix: send orgId in login/register
  • Loading branch information
raheeliftikhar5 committed Nov 25, 2023
commit 4c99f6e206d151e131875ccb0f23b8001a25ff42
1 change: 1 addition & 0 deletions client/packages/lowcoder/src/api/userApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ interface FormLoginRequest extends CommonLoginParam {
password: string;
register: boolean;
authId?: string;
orgId?: string;
}

export interface GetUserResponse extends ApiResponse {
Expand Down
1 change: 1 addition & 0 deletions client/packages/lowcoder/src/pages/userAuth/formLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default function FormLogin(props: FormLoginProps) {
password: password,
invitationId: invitationId,
source: UserConnectionSource.email,
orgId: props.organizationId,
authId,
}),
false,
Expand Down
1 change: 1 addition & 0 deletions client/packages/lowcoder/src/pages/userAuth/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function UserRegister() {
password: password,
invitationId,
source: UserConnectionSource.email,
orgId: organizationId,
authId,
}),
false,
Expand Down