# Create admin account(s) in app.yml without email confirmation

**URL:** <https://meta.discourse.org/t/create-admin-account-s-in-app-yml-without-email-confirmation/53934>\
**Category:** Feature\
**Created:** [7 Diciembre, 2016 17:50 UTC](https://meta.discourse.org/t/create-admin-account-s-in-app-yml-without-email-confirmation/53934 "2016-12-07T17:50:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [7 Diciembre, 2016 17:50 UTC](https://meta.discourse.org/t/create-admin-account-s-in-app-yml-without-email-confirmation/53934/1 "2016-12-07T17:50:11Z")

</div>

On a new site, if mail configuration is broken (e.g., not activated in Mailgun), the admin can’t get an email to log in and cannot see the mail logs to diagnose the problem.

For as long as I’ve known about WordPress, it’s start-up flow just lets the first person who creates an account be the admin. Apparently this hasn’t been a significant security problem for that platform. Since Discourse further protects sites from hijacking via the `DISCOURSE_DEVELOPER_EMAILS` variable, I see no security downside to bypassing email verification for addresses in `DISCOURSE_DEVELOPER_EMAILS`.

If those addresses bypassed email verification admins could immediately log in to be able to check email logs to diagnose email problems.

---

_[View the full topic](https://meta.discourse.org/t/create-admin-account-s-in-app-yml-without-email-confirmation/53934)._
