Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

I cant sign up as admin

default discord avatar
hashaam19last year
3

When i start the dev. server, and try to access the /sell page, i get redirected to the login page, i dont even have an account!


I tried to create account using payloadcms and tried logging in after creating account, but that doesnt work either. How do i create admin account. I tried to manually access the link to create first user but that page doesnt exist so what do i do now?

  • discord user avatar
    tylandavis
    last year

    @Hashaam this is likely because the database you are connecting to already has a user in it. Double check that there are no user documents, and if so delete them to get the create new user screen.

  • default discord avatar
    hashaam19last year

    @tylandavis got it! Thank you so much, i didnt name my db so it was put inside another db which already had a user collection in it. Name my db now! Fixed. Thanks again

  • discord user avatar
    tylandavis
    last year

    awesome 👍

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.