···2627 # keep the scope, as it is used throughout the derivation and tests
28 # this also makes potential future overrides easier
29- pythonPackages = python3.pkgs.overrideScope (final: prev: rec { });
000000000003031 offlineCache = fetchYarnDeps {
32 yarnLock = ./yarn.lock;
···2627 # keep the scope, as it is used throughout the derivation and tests
28 # this also makes potential future overrides easier
29+ pythonPackages = python3.pkgs.overrideScope (final: prev: rec {
30+ # Flask 5.4.3 introduces an CSRF error which makes it impossible to login
31+ # So either we downgrade flask here or use "WTF_CSRF_ENABLED = false" in the
32+ # module config to disable CSRF.
33+ flask-security-too = prev.flask-security-too.overridePythonAttrs (oldAttrs: rec {
34+ version = "5.4.1";
35+ src = oldAttrs.src.override {
36+ inherit version;
37+ hash = "sha256-Ay7+gk+zuUlXtw0LDdsnvSa22z+yE6VR1guu9QmiFvw=";
38+ };
39+ });
40+ });
4142 offlineCache = fetchYarnDeps {
43 yarnLock = ./yarn.lock;