Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update comments

NyanKiyoshi5446f9584339
diff --git a/saleor/dashboard/staff/forms.py b/saleor/dashboard/staff/forms.py
index a9939706bf..3056f7a96a 100644
--- a/saleor/dashboard/staff/forms.py
+++ b/saleor/dashboard/staff/forms.py
@@ -35,7 +35,7 @@ class StaffForm(forms.ModelForm):
self.user = kwargs.pop('user')
super().__init__(*args, **kwargs)
- # Non-superuser couldn't edit superuser's profile
+ # Non-superusers shouldn't be able to edit a superuser's profile
if self.instance.is_superuser and not self.user.is_superuser:
self.fields['email'].disabled = True
self.fields['user_permissions'].disabled = True