openwisp / openwisp-radius

Administration web interface and REST API for freeradius 3 build in django & python. Supports captive portal authentication, WPA Enerprise (802.1x), freeradius rlm_rest, social login, Hotspot 2.0 / 802.11u, importing users from CSV, registration of new users and more.

Home Page:https://openwisp-radius.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug] Saving RadiusCheck/RadiusReply without an organization raises server 500 error

pandafy opened this issue · comments

Steps to replicate

  1. Go to http://127.0.0.1:8000/admin/openwisp_radius/radiuscheck/add/
  2. Selected "Guided (dropdown)" mode
  3. Fill out the form as follows (leaving out the organization field)

The same happens for RadiusReply.

Screenshot from 2022-12-20 18-38-50

Expected outcome

The admin form complains for empty organization field

Actual outcome

Server 500 error

Screenshot from 2022-12-20 18-39-10