fix create user isDelete = false
This commit is contained in:
parent
fb4196cfa2
commit
f7e8729e60
1 changed files with 3 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ export class KeycloakController extends Controller {
|
||||||
profile.keycloak = userId;
|
profile.keycloak = userId;
|
||||||
}
|
}
|
||||||
profile.email = body.email == null ? _null : body.email;
|
profile.email = body.email == null ? _null : body.email;
|
||||||
|
profile.isDelete = false;
|
||||||
await this.profileRepo.save(profile);
|
await this.profileRepo.save(profile);
|
||||||
|
|
||||||
// Update Keycloak with profile prefix after profile is loaded
|
// Update Keycloak with profile prefix after profile is loaded
|
||||||
|
|
@ -202,6 +203,7 @@ export class KeycloakController extends Controller {
|
||||||
profile.keycloak = userId;
|
profile.keycloak = userId;
|
||||||
}
|
}
|
||||||
profile.email = body.email == null ? _null : body.email;
|
profile.email = body.email == null ? _null : body.email;
|
||||||
|
profile.isDelete = false;
|
||||||
await this.profileEmpRepo.save(profile);
|
await this.profileEmpRepo.save(profile);
|
||||||
// Update Keycloak with profile prefix after profile is loaded
|
// Update Keycloak with profile prefix after profile is loaded
|
||||||
await updateUserAttributes(userId, {
|
await updateUserAttributes(userId, {
|
||||||
|
|
@ -760,6 +762,7 @@ export class KeycloakController extends Controller {
|
||||||
profile.keycloak = userId;
|
profile.keycloak = userId;
|
||||||
}
|
}
|
||||||
profile.email = body.email == null ? _null : body.email;
|
profile.email = body.email == null ? _null : body.email;
|
||||||
|
profile.isDelete = false;
|
||||||
await this.profileEmpRepo.save(profile);
|
await this.profileEmpRepo.save(profile);
|
||||||
// Update Keycloak with profile prefix after profile is loaded
|
// Update Keycloak with profile prefix after profile is loaded
|
||||||
await updateUserAttributes(userId, {
|
await updateUserAttributes(userId, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue