|
|
|
@ -74,7 +74,6 @@ export class SetupUserComponent implements OnInit {
|
|
|
|
porOrgacode: this.storageService.getItem('POR_ORGACODE'),
|
|
|
|
porOrgacode: this.storageService.getItem('POR_ORGACODE'),
|
|
|
|
password: this.userForm.value.defaultPassword
|
|
|
|
password: this.userForm.value.defaultPassword
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log('Payload:', newUser); // 👈 Debug
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.userService.addUser(newUser).subscribe({
|
|
|
|
this.userService.addUser(newUser).subscribe({
|
|
|
|
next: () => {
|
|
|
|
next: () => {
|
|
|
|
|