A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix password change detection on profile edit (#5028)
shamoon6ee2d023d595
diff --git a/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.spec.ts b/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.spec.tsindex 0b300bd74..7dcda57a7 100644--- a/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.spec.ts+++ b/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.spec.ts@@ -11,7 +11,6 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms'import {NgbAccordionModule,NgbActiveModal,- NgbModal,NgbModalModule,} from '@ng-bootstrap/ng-bootstrap'import { HttpClientModule } from '@angular/common/http'diff --git a/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.ts b/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.tsindex 19391ce28..d89d49829 100644--- a/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.ts+++ b/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.ts@@ -130,7 +130,8 @@ export class ProfileEditDialogComponent implements OnInit, OnDestroy {}save(): void {- const passwordChanged = this.currentPassword !== this.newPassword+ const passwordChanged =+ this.newPassword && this.currentPassword !== this.newPasswordconst profile = Object.assign({}, this.form.value)this.networkActive = truethis.profileService