Giter Site home page Giter Site logo

Authentication seems broken about foxbox HOT 4 CLOSED

fxbox avatar fxbox commented on July 19, 2024
Authentication seems broken

from foxbox.

Comments (4)

dhylands avatar dhylands commented on July 19, 2024

I have 2 computers, and from the other computer (the very first one I attached to, it says I'm logged in as admin, even though there is no users_db.sqlite file

from foxbox.

nojunpark avatar nojunpark commented on July 19, 2024

Also, shouldn't users_db.sqlite be removed when cargo clean is run? with this file persisting, rebuilding the foxbox won't let the user to set the password.

from foxbox.

ferjm avatar ferjm commented on July 19, 2024

We discussed this over IRC.

I then browsed to http://localhost:3000 and was asked to enter my admin password (rather than the ask/confirm). Checking the filesystem, users_db.sqlite doesn't even exist yet. And of course, because I haven't set a password, all passwords come back as unauthorized.

The issue seemed to have started from the fact that there were already a session stored locally on Dave's browser but the user's db was clean.

To fix this, I'm going to split the setup UI from the login UI. I'll file a new issue for this.

Also the test client I propose to use as an alternative to manual requests wasn't helping at all.

Also, shouldn't users_db.sqlite be removed when cargo clean is run? with this file persisting, rebuilding the foxbox won't let the user to set the password.

Good point. I'll file a new issue for this as well.

from foxbox.

ferjm avatar ferjm commented on July 19, 2024

I'm closing this one in favor of #125 and #126.

from foxbox.

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.