change on a field that everyone have (1A don't have bus)

This commit is contained in:
bleizi 2023-08-28 19:26:51 +02:00
parent d27f942339
commit 96da7d01ae
No known key found for this signature in database
GPG Key ID: D46D7E3364433208
1 changed files with 1 additions and 1 deletions

View File

@ -969,7 +969,7 @@ class WEIValidateRegistrationView(ProtectQuerysetMixin, ProtectedCreateView):
if not registration.soge_credit and user.note.balance + credit_amount < fee:
# Users must have money before registering to the WEI.
form.add_error('bus',
form.add_error('credit_type',
_("This user don't have enough money to join this club, and can't have a negative balance."))
return super().form_invalid(form)