Code Monkey home page Code Monkey logo

Comments (10)

chandz05 avatar chandz05 commented on May 27, 2024 1

Alright I got it working. Pulling fresh still resulted in the error. What fixed it was explicitly adding the below variables:

ROMM_AUTH_SECRET_KEY
ROMM_AUTH_USERNAME
ROMM_AUTH_PASSWORD

from romm.

chandz05 avatar chandz05 commented on May 27, 2024 1

ROMM_AUTH_SECRET_KEY

yeah this one is required to be set and non-changing, since it's the random "key" that hashes passwords

My bad I missed this in the 3.0 upgrade notes! Thanks for all the help!

from romm.

fidoriel avatar fidoriel commented on May 27, 2024

I was able to fix it by deleting the Website Cookies.

from romm.

fabiencharrasse avatar fabiencharrasse commented on May 27, 2024

Thanks, that's it ! Deleted the "csrftoken" cookie, loginwith admin / admin and change login / password.

from romm.

chandz05 avatar chandz05 commented on May 27, 2024

Hello, I am having the same issue on both Firefox as well as Chrome. I have tried clearing cookies, private/incognito modes, fresh install in a fresh DB, but I am still getting the CSRF error.

OS: Unraid 6.12.8
Browser Firefox
Version 123.0.1

from romm.

fabiencharrasse avatar fabiencharrasse commented on May 27, 2024

@chandz05 did you try to log with admin as login and password ?

from romm.

gantoine avatar gantoine commented on May 27, 2024

whether you're using unraid or docker compose, you'll need to remove and re-create the container to pickup the CSRF changes

from romm.

chandz05 avatar chandz05 commented on May 27, 2024

whether you're using unraid or docker compose, you'll need to remove and re-create the container to pickup the CSRF changes

So I removed and recreated the container, but I am probably using a cached version. Let me try pulling it fresh and report back

from romm.

gantoine avatar gantoine commented on May 27, 2024

you can change :latest to :3.0.0 to make sure its the right version

from romm.

gantoine avatar gantoine commented on May 27, 2024

ROMM_AUTH_SECRET_KEY

yeah this one is required to be set and non-changing, since it's the random "key" that hashes passwords

from romm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.