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.

Email & Password for project generated with blog template

default discord avatar
asophist2 years ago
6

Couldn't find any way to login to a newly generated project. Any pointers? Thanks

  • default discord avatar
    tinouti2 years ago

    If you don't have any user yet, Payload should prompt you with a "create your first user" screen when first accessing the admin. Did this not happen for you?

  • default discord avatar
    asophist2 years ago

    No it didn't. Any workarounds?

  • default discord avatar
    tinouti2 years ago

    That's weird. I'd check your database first to make sure you don't already have a user, and if not, try accessing the first user page directly maybe?


    /admin/create-first-user
  • discord user avatar
    denolfe
    2 years ago

    You can delete any users from the users collection in Mongo



    It will reprompt for first user

  • default discord avatar
    asophist2 years ago

    My bad, I was reusing a db which had a users collection already. Deleting all users did the trick. Thanks

    @233209174069084161

    and

    @967118574445547650

    . Cheers!

  • discord user avatar
    denolfe
    2 years ago

    Ah, I thought about asking if you were connecting to a previous DB, glad you got it sorted 👍

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.