Skip to content

Commit

Permalink
Merge pull request #75 from jm66/issue-73
Browse files Browse the repository at this point in the history
Issue #73: group_required not working as expected
  • Loading branch information
alexferl authored Jan 27, 2021
2 parents c6f63c7 + 61732d1 commit 9c6cb35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_simpleldap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def wrapped(*args, **kwargs):
next=request.full_path or request.path))
match = [group for group in groups if group in g.ldap_groups]
if not match:
abort(401)
abort(403)

return func(*args, **kwargs)

Expand Down

0 comments on commit 9c6cb35

Please sign in to comment.