WEB-59 removed self-service from codebase (#2374)

This commit is contained in:
Gopi Kishan
2025-04-01 21:21:25 -06:00
committed by GitHub
parent 664494545a
commit cc41a10027
53 changed files with 4 additions and 1720 deletions
+1 -3
View File
@@ -7,7 +7,6 @@ import { Router } from '@angular/router';
/** Custom Services */
import { AuthenticationService } from 'app/core/authentication/authentication.service';
import { ChangePasswordDialogComponent } from 'app/shared/change-password-dialog/change-password-dialog.component';
import { UserService } from 'app/self-service/users/user.service';
import { SettingsService } from 'app/settings/settings.service';
/**
@@ -41,7 +40,6 @@ export class ProfileComponent implements OnInit {
constructor(
private authenticationService: AuthenticationService,
private settingsService: SettingsService,
private userService: UserService,
private router: Router,
public dialog: MatDialog
) {
@@ -65,7 +63,7 @@ export class ProfileComponent implements OnInit {
const password = response.password;
const repeatPassword = response.repeatPassword;
const data = { password: password, repeatPassword: repeatPassword };
this.userService.changePassword(this.profileData.userId, data).subscribe(() => {
this.authenticationService.changePassword(this.profileData.userId, data).subscribe(() => {
this.router.navigate(['/home']);
});
}