···26262727 # keep the scope, as it is used throughout the derivation and tests
2828 # this also makes potential future overrides easier
2929- pythonPackages = python3.pkgs.overrideScope (final: prev: rec { });
2929+ pythonPackages = python3.pkgs.overrideScope (final: prev: rec {
3030+ # Flask 5.4.3 introduces an CSRF error which makes it impossible to login
3131+ # So either we downgrade flask here or use "WTF_CSRF_ENABLED = false" in the
3232+ # module config to disable CSRF.
3333+ flask-security-too = prev.flask-security-too.overridePythonAttrs (oldAttrs: rec {
3434+ version = "5.4.1";
3535+ src = oldAttrs.src.override {
3636+ inherit version;
3737+ hash = "sha256-Ay7+gk+zuUlXtw0LDdsnvSa22z+yE6VR1guu9QmiFvw=";
3838+ };
3939+ });
4040+ });
30413142 offlineCache = fetchYarnDeps {
3243 yarnLock = ./yarn.lock;