# Disable Email Verification for Discourse Plugin

**URL:** <https://meta.discourse.org/t/disable-email-verification-for-discourse-plugin/280874>\
**Category:** Plugin\
**Tags:** email, broken\
**Created:** [October 3, 2023, 11:21am UTC](https://meta.discourse.org/t/disable-email-verification-for-discourse-plugin/280874 "2023-10-03T11:21:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![codergautam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codergautam/32/261083_2.png) [@codergautam](https://meta.discourse.org/u/codergautam)\
**Post date:** [October 3, 2023, 11:21am UTC](https://meta.discourse.org/t/disable-email-verification-for-discourse-plugin/280874/1 "2023-10-03T11:21:58Z")

</div>

| | | |
| --- | --- | --- |
| 📩 | **Summary** | **Disable Email Verification for Discourse** is a fork of the unmaintained `angelim/discourse_user_auto_activation` and provides an option for administrators to bypass the email verification step during user registration. No more waiting for email confirmations; get users started immediately. |
| 🛠 | **Repository Link** | [https://github.com/codergautam/disable-email-verification-discourse](https://github.com/codergautam/disable-email-verification-discourse) |
| 📖 | **Install Guide** | [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157) |

## How to use the Disable Email Verification plugin

1. **Install** the plugin following the provided installation guide.
2. **Navigate** to the admin panel of your Discourse instance.
3. Go to **Plugins** and ensure the **Disable Email Verification** plugin is enabled.
4. **Press** on settings.
5. **Locate** the `disable_email_verification` setting and enable it to bypass email verification.

Note: Disabling email verification might lead to potential issues with spam or fake accounts. It’s recommended to use this feature judiciously and consider alternative verification methods.

## Technical Aspects

This plugin directly modifies the `UsersController` and `User` classes to circumvent the email verification step during the registration process. With the `disable_email_verification` setting enabled, the plugin ensures:

- The email token isn’t created.
- The `active` field of the user is automatically set to `true`.

For those interested, the entire codebase is [open-source](https://github.com/codergautam/disable-email-verification-discourse) and contributions (and stars ⭐) are always welcome.

### Roadmap for Disable Email Verification Plugin

- **Skip Email Verification**

- **Disable Sending Other Emails to Unverified Users**

- **Role System**

---

_[View the full topic](https://meta.discourse.org/t/disable-email-verification-for-discourse-plugin/280874)._
