Skip to content

Commit

Permalink
ALLOW -> MATCH pulling the wrong configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Hardison committed May 30, 2024
1 parent f26fbb8 commit 7c6855f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_security/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def validate_redirect_url(url: str) -> bool:
# 1. The subdomain is in the list of allowed subdomains (strict)
# 2. The subdomain starts with a . and the netloc ends with this (loose)

allowed_subdomains = config_value("REDIRECT_ALLOW_SUBDOMAINS")
allowed_subdomains = config_value("REDIRECT_MATCH_SUBDOMAINS")

# Safety check - do we have a list of allowed subdomains?

Expand Down

0 comments on commit 7c6855f

Please sign in to comment.