Giter VIP home page Giter VIP logo

Comments (5)

intri-in avatar intri-in commented on June 16, 2024 1

You would have to rebuild the project again. Since you are changing a public variable, NextJS requires the project to be rebuilt again.

npm run build

and then start it again.

from manage-my-damn-life-nextjs.

CarlSinclair avatar CarlSinclair commented on June 16, 2024 1

Yup that did it. Might wanna mention in the docs though that this shouldn't be done before creating a user or you'd get locked out. Or ideally make it so that the login dialog doesn't lock you out till after you've created a user.

Anyway just my two cents. Thanks for the help, and for the wonderful project. CalDAV is truly a dying breed nowadays.

from manage-my-damn-life-nextjs.

intri-in avatar intri-in commented on June 16, 2024
  1. Under the login button, does "Register" not appear?
  2. Are you running docker image, or directly via npm run start ?
  3. Did you setup a .env file?
  4. Did you by any chance disable the creation of new user? You can disable the creation option by two ways:
    • by setting the var NEXT_PUBLIC_DISABLE_USER_REGISTRATION to true in env file
    • by going into setting and selecting the option to disable creation of users.

from manage-my-damn-life-nextjs.

CarlSinclair avatar CarlSinclair commented on June 16, 2024

Ah. I realize my error now. I misunderstood the docs. I thought the default behavior did not permit additional users so I had changed it to true.

However changing it back to false hasn't made a registration button appear. I killed the nohup npm run I had started and started another, thinking that would apply the changes but nope. Is there a different way of force applying config changes? I'm not running docker.

from manage-my-damn-life-nextjs.

intri-in avatar intri-in commented on June 16, 2024

ideally make it so that the login dialog doesn't lock you out till after you've created a user.

Yes, this I think would be a good option. Will implement this in the coming releases.

I will close this issue for now. If you face other issues, feel free to open a new one.

from manage-my-damn-life-nextjs.

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.