I made my admin account, but I can still accept /setup which looks like it will allow any random user to make an admin account as well.

How do I fix this?

Edit: It turns out that creating the admin account doesn’t work, even though the page is still there.

      • one_old_coder@piefed.social
        link
        fedilink
        English
        arrow-up
        9
        ·
        edit-2
        1 month ago

        I don’t see any guide talking about that. I would try some kind of Htaccess to prevent people from using /setup.

        It feels like a bandaid, but on the other hand I have never seen a “server application” where URLs like /setup can selfdestruct after one use.

  • hexagonwin@lemmy.today
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 month ago

    even lemmy.ml operated by its devs have /setup exposed and not working, i think its fine

    if it bothers you block or redirect the url on your web server’s config

    • vercetti@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      Thanks. I just tried it out and it actually doesn’t work. The page is still there which is annoying, but at least it can’t be exploited to give random people admin accounts.