Skip to content

Commit

Permalink
fix: fix bulk user state change
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Feb 13, 2024
1 parent 7ffc2fa commit 31ad75a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ckanext/ap_main/views/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ def _change_user_state(
)
except tk.ObjectNotFound:
pass
except tk.ValidationError:
# we shouldn't get there, but currently CKAN has a problem
# system user doesn't have an email, so it's impossible to update it
pass


class UserAddView(MethodView):
Expand Down

0 comments on commit 31ad75a

Please sign in to comment.