summaryrefslogtreecommitdiffstats
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/admin.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/users/admin.py b/users/admin.py
index 0901307..7a54c52 100644
--- a/users/admin.py
+++ b/users/admin.py
@@ -44,6 +44,12 @@ class IdentityAdmin(admin.ModelAdmin):
def actor_json(self, instance):
return instance.to_ap()
+ def has_add_permission(self, request, obj=None):
+ """
+ Disables admin creation of identities as it will skip steps
+ """
+ return False
+
@admin.register(Follow)
class FollowAdmin(admin.ModelAdmin):