diff --git a/authentik/core/api/users.py b/authentik/core/api/users.py
index 90b3bf7ce..623e919dd 100644
--- a/authentik/core/api/users.py
+++ b/authentik/core/api/users.py
@@ -90,6 +90,9 @@ class UserSerializer(ModelSerializer):
"attributes",
"uid",
]
+ extra_kwargs = {
+ "name": {"allow_blank": True},
+ }
class UserSelfSerializer(ModelSerializer):
@@ -117,6 +120,7 @@ class UserSelfSerializer(ModelSerializer):
]
extra_kwargs = {
"is_active": {"read_only": True},
+ "name": {"allow_blank": True},
}
diff --git a/web/src/pages/users/UserForm.ts b/web/src/pages/users/UserForm.ts
index 5e2f98688..349c0656a 100644
--- a/web/src/pages/users/UserForm.ts
+++ b/web/src/pages/users/UserForm.ts
@@ -58,12 +58,11 @@ export class UserForm extends ModelForm
${t`User's display name.`}
${t`User's display name.`}