Closed zouyq closed 8 months ago
Hello @zouyq,
wallabag relies on session data for keeping users logged in and temp data like csrf tokens for forms. For that these data are either stored on the filesystem or in a cache system like redis.
You may need to check that the folder var/sessions
is persisted on your Fly Machine to survive redeploy or restart.
yes,fixed
I deploy wallabag into fly.io with dockerfile,sometimes get
Invalid CSRF token
. when login;After completing the deployment, sometimes I can log in successfully for the first time. However, after successfully logging in and making some configuration changes, it automatically logs me out. Upon logging out, when I try to log in again by entering the username and password, it redirects back to the login page. Clicking again leads to an error: "Invalid CSRF token." Subsequently, I am unable to log in successfully. It's very strange. this is my fly.io toml file