Skip to content

Commit

Permalink
Merge branch 'master' into feature/add-ldap-nested-groups-for-ms-ad
Browse files Browse the repository at this point in the history
  • Loading branch information
barloc authored Sep 28, 2024
2 parents 5def4f8 + 1d27eb4 commit c59b432
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flask_appbuilder/security/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ def __init__(self, appbuilder):
if self.auth_type == AUTH_REMOTE_USER:
app.config.setdefault("AUTH_REMOTE_USER_ENV_VAR", "REMOTE_USER")

if self.auth_type == AUTH_REMOTE_USER:
app.config.setdefault("AUTH_REMOTE_USER_ENV_VAR", "REMOTE_USER")

# Rate limiting
app.config.setdefault("AUTH_RATE_LIMITED", False)
app.config.setdefault("AUTH_RATE_LIMIT", "10 per 20 second")
Expand Down

0 comments on commit c59b432

Please sign in to comment.