Chore: include password validation on user edit (#11308)

This commit is contained in:
shamoon authored and GitHub committed 2025-11-07 11:20:27 -08:00
1 parent 808c074f48
commit 2a9d1fce0d
5 files changed
+93 -19

No files matched your search

@@ -183,6 +183,7 @@ export class ProfileEditDialogComponent
this.newPassword && this.currentPassword !== this.newPassword
const profile = Object.assign({}, this.form.value)
delete profile.totp_code
this.error = null
this.networkActive = true
this.profileService
.update(profile)
@@ -204,6 +205,7 @@ export class ProfileEditDialogComponent
},
error: (error) => {
this.toastService.showError($localize`Error saving profile`, error)
this.error = error?.error
this.networkActive = false
},
})