Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(embed): fix server error due to breaking change on flask-login #22462

Merged
merged 4 commits into from
Jan 12, 2023

Commits on Jan 11, 2023

  1. Fixes server error on embed due to breaking change on flask-login

    Due to a breaking change in Flask-Login (maxcountryman/flask-login#378) the code for logging in our the AnonymousUser breaks. Unfortunately, Flask-Login not only renames the method we need, but also makes it quasi-private. We can switch to a different public util function Flask-Login offers since at least version 0.3.0. In all versions I checked it essentially executes the same steps as `reload_user(...)` did (it additionally signals the login event internally, which shouldn't cause issues).
    
    Fixes apache#21987
    Usiel committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    790eb9e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be46675 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2023

  1. Configuration menu
    Copy the full SHA
    c0b3679 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4b3224 View commit details
    Browse the repository at this point in the history