Corrected the logic flaw in the account add / edit form that would cause all unassigned zones to be selected automatically following the attempt of account creation with an invalid name.

This commit is contained in:
Matt Scott 2023-04-13 16:09:10 -04:00
parent d773e078f5
commit 7eee3134d4
No known key found for this signature in database
GPG Key ID: A9A0AFFC0E079001

View File

@ -133,7 +133,7 @@
</option>
{% endwith %}
{% else %}
<option {% if account.id == domain.account_id %}selected{% endif %}
<option {% if account.id and account.id == domain.account_id %}selected{% endif %}
value="{{ domain.name }}">
{{ domain.name }}
</option>