Skip to content

Commit

Permalink
fixed change mpsk form
Browse files Browse the repository at this point in the history
moved from url args to backend values
#498
  • Loading branch information
agmes4 committed Dec 25, 2024
1 parent 87dec08 commit 04c5532
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sipa/blueprints/usersuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,8 @@ def add_mpsks():
flash(gettext("Passwort war inkorrekt!"), "error")
except MacAlreadyExists:
flash(gettext("MAC-Adresse ist bereits in Verwendung!"), "error")
except ValueError:
flash(gettext("Maximale Anzahl von MPSK Clients erreicht!"), "error")
else:
logger.info('Successfully changed MAC address',
extra={'data': {'mac': mac},
Expand Down

0 comments on commit 04c5532

Please sign in to comment.