diff --git a/src-ui/src/app/components/manage/settings/settings.component.ts b/src-ui/src/app/components/manage/settings/settings.component.ts index 320b28284..01f455b73 100644 --- a/src-ui/src/app/components/manage/settings/settings.component.ts +++ b/src-ui/src/app/components/manage/settings/settings.component.ts @@ -620,7 +620,7 @@ export class SettingsComponent }) modal.componentInstance.dialogMode = user ? 'edit' : 'create' modal.componentInstance.object = user - modal.componentInstance.success + modal.componentInstance.succeeded .pipe(takeUntil(this.unsubscribeNotifier)) .subscribe({ next: (newUser) => { @@ -676,7 +676,7 @@ export class SettingsComponent }) modal.componentInstance.dialogMode = group ? 'edit' : 'create' modal.componentInstance.object = group - modal.componentInstance.success + modal.componentInstance.succeeded .pipe(takeUntil(this.unsubscribeNotifier)) .subscribe({ next: (newGroup) => { diff --git a/src/paperless/serialisers.py b/src/paperless/serialisers.py index e60b3e019..a46d4897b 100644 --- a/src/paperless/serialisers.py +++ b/src/paperless/serialisers.py @@ -18,7 +18,7 @@ class ObfuscatedUserPasswordField(serializers.Field): class UserSerializer(serializers.ModelSerializer): - password = ObfuscatedUserPasswordField() + password = ObfuscatedUserPasswordField(required=False) user_permissions = serializers.SlugRelatedField( many=True, queryset=Permission.objects.all(),