Need Help Setting Up Email Verification in Codidact Question
I’m a learner exploring Q&A tools, and after researching, I came across Codidact. I’m impressed with its features and have successfully set it up on my local machine. However, I encountered an issue with email verification—when registering a new user, the account verification email isn’t sent. I’ve checked all configuration files but couldn’t locate any setup related to email confirmation. Could someone guide me on configuring the email verification for new users?
1 answer
Since you mention setting this up on your local machine, I assume this is a development environment, intended for your own testing (so the new user you are creating is still controlled by you on your machine rather than another person). If so, instead of emails being sent they will be displayed at http://localhost:3000/letter_opener (note the http
rather than https
).
The relevant section of the installation guide is Create administrator account.
Note that when you click on "Confirm my account" in the letter_opener email page, you will get an error because the link is https
and doesn't work in the development environment. I posted about this in "Confirm my account" link shows as https in development and the quick fix is just to change https
to http
manually in the URL bar.
Your new user should then be confirmed. After the first time you sign in successfully as that new user, you will see them in the Users list (by clicking the "Users" button at the top left of each page).
You can then use your admin user to assign whatever abilities the new user should have.
1 comment thread