Running in development, need to approve first user

email

(Andrew Stroup) #1

Hey there, new to Discourse, testing it out for a potential deployment and had what seems like a simple question.

I was able to successfully get everything up and running (i.e. Redis server and rails s > localhost:3000) BUT when I try to create an initial user it requires email validation. How do I approve that from the rails console as I don’t believe any actual emails are being sent out since it’s a local instance?

I can go into the rails console and change the user property approved = true (along with admin = true), but when I attempt to login, it states that email validation is still required. Any help?!

Thanks in advance!


(Sam Saffron) #2
bin/rake admin:create