mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-15 15:22:17 +00:00
Fixed typo causing stacktrace
This commit is contained in:
@@ -39,7 +39,7 @@ def UserServiceAccountForm(user):
|
|||||||
|
|
||||||
def clean(self):
|
def clean(self):
|
||||||
if not self.cleaned_data['character'].corporation.group in self.cleaned_data['service'].groups.all():
|
if not self.cleaned_data['character'].corporation.group in self.cleaned_data['service'].groups.all():
|
||||||
raise form.ValidationError("%s is not in a corporation allowed to access %s" % (self.cleaned_data['character'].name, self.cleaned_data['service']))
|
raise forms.ValidationError("%s is not in a corporation allowed to access %s" % (self.cleaned_data['character'].name, self.cleaned_data['service']))
|
||||||
|
|
||||||
return self.cleaned_data
|
return self.cleaned_data
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user